PureBytes Links
Trading Reference Links
|
Thank you Tomasz, however no go on my XP ystem. I tried LPT, USB002, but not
go either.
Using PRN AmiBroker becomes nonresponsive...
thanks for the try anyway!
herman.
-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: Saturday, September 25, 2004 1:41 PM
To: amibroker@xxxxxxxxxxxxxxx
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@xxxxxxxx>
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@xxxxxxx]
> 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@xxxxxxx
>
>
> 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 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]
------------------------ 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/
|