PureBytes Links
Trading Reference Links
|
Can you print from any other program? If not your printer port
possibly is deactivated by BIOS.
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Hello,
>
> Every decent printer driver must support text output to PRN:
> This is an old technique that is here since the beginning of PC
computers.
> If it does not then it means that your driver is
faulty/incomplete/etc.
> Contact printer manufacturer for updated printer driver.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Ara Kaloustian" <ara1@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, September 25, 2004 8:24 PM
> Subject: Re: [amibroker] Printing from afl
>
>
> >I was not able to print with the code below. Using WIN 2000 Pro
> >
> > I looked at my printer ports, had my printer on LPT1, tried that
also, again
> > without success
> >
> >
> > ----- Original Message -----
> > From: "Tomasz Janeczko" <amibroker@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Saturday, September 25, 2004 10:40 AM
> > Subject: Re: [amibroker] Printing from afl
> >
> >
> >>
> >> Herman,
> >>
> >> The following code prints "TESTING" word on my laser printer:
> >>
> >> fh= fopen("PRN:", "w");
> >> if( fh )
> >> {
> >> fputs( "TESTING", fh );
> >> fclose( fh );
> >> }
> >>
> >> Best regards,
> >> Tomasz Janeczko
> >> amibroker.com
> >> ----- Original Message -----
> >> From: "Herman van den Bergen" <psytek@xxxx>
> >> To: <amibroker@xxxxxxxxxxxxxxx>
> >> Sent: Saturday, September 25, 2004 7:34 PM
> >> Subject: RE: [amibroker] Printing from afl
> >>
> >>
> >> > Thanks Marek,
> >> >
> >> > Your source required payment for access so i didn't do that. I
am using
> > XP
> >> > and found the info below, trying this command print /d:USB002
> > c:\Test.txt
> >> > without success.
> >> >
> >> > I gather that in XP i should be able to use simply Print
Test.txt but it
> >> > doesn't work.
> >> >
> >> > herman
> >> > PRINT
> >> >
> >> > Print a file or files to a local or network printer.
> >> >
> >> >
> >> > syntax
> >> > PRINT [/D:device] [pathname(s)]
> >> >
> >> > key
> >> > device : either a local printer (LPTx, COMx )
> >> > or a network printer by its sharename
> >> > (\\servername\print_share)
> >> >
> >> > pathname : The file or files to be printedThe default device
is PRN.
> > The
> >> > values PRN and LPT1 refer to the same parallel port.
> >> >
> >> > To delete a print job:
> >> >
> >> > Use Control Panel, Printers (GUI) or use
> >> > NET PRINT job# /DELETE
> >> >
> >> > It is possible to delete the relevant .spl and .shd files from
> >> > %SystemRoot%\system32\spool\PRINTERS
> >> > but the .spl file for a print job at the top of the print
queue cannot
> > be
> >> > deleted.
> >> >
> >> > Printing requires the Spooler service to be running
> >> >
> >> >
> >> >
> >> >
> >> > -----Original Message-----
> >> > From: Marek Chlopek [mailto:mchlopek@x...]
> >> > Sent: Saturday, September 25, 2004 12:00 PM
> >> > To: amibroker@xxxxxxxxxxxxxxx
> >> > Subject: Re: [amibroker] Printing from afl
> >> >
> >> >
> >> > On Saturday, 25 of September 2004 17:37, Herman van den
Bergen wrote:
> >> > > Its listed under the Ports tab as USB002 ... but I have no
clue what
> >> > that
> >> > > means :-)
> >> >
> >> > is it xp? I have absolutely no experience with xp (my latest
ms
> > operating
> >> > system is 98). can you get a console? can you type: copy
> > c:\any_text_file
> >> > port
> >> > where port=lpt usb002 or something else?
> >> >
> >> > I only know that you have to find a solution how to print
directly to
> > the
> >> > printer from the command line (from console). when you have a
solution
> >> > than
> >> > you should have no problems to print from afl.
> >> >
> >> > I have found it using google (this is your question, maybe
they have an
> >> > answer?):
> >> > http://www.experts-exchange.com/Applications/Q_20852377.html
> >> >
> >> > Regards,
> >> > --
> >> > Marek Chlopek
> >> > mchlopek@xxxx
> >> >
> >> >
> >> > Check AmiBroker web page at:
> >> > http://www.amibroker.com/
> >> >
> >> > Check group FAQ at:
> >> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >> >
> >> >
> >> > Yahoo! Groups Sponsor
> >> > ADVERTISEMENT
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >> -----------------------------------------------------------------
---------
> > --
> >> > --
> >> > Yahoo! Groups Links
> >> >
> >> > a.. To visit your group on the web, go to:
> >> > http://groups.yahoo.com/group/amibroker/
> >> >
> >> > b.. To unsubscribe from this group, send an email to:
> >> > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >> >
> >> > c.. Your use of Yahoo! Groups is subject to the Yahoo!
Terms of
> > Service.
> >> >
> >> >
> >> >
> >> > [Non-text portions of this message have been removed]
> >> >
> >> >
> >> >
> >> >
> >> > Check AmiBroker web page at:
> >> > http://www.amibroker.com/
> >> >
> >> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >> > Yahoo! Groups Links
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> Check AmiBroker web page at:
> >> http://www.amibroker.com/
> >>
> >> Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >> Yahoo! Groups Links
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|