Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Printing a TK Canvas

by Madams (Monk)
on Apr 18, 2004 at 22:49 UTC ( #346165=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Printing a TK Canvas
in thread Printing a TK Canvas

The reason You're having problems with:

lpr -S localhost or 127.0.0.1 -P LPT1 FILENAME

Is that under WinXP (which you mention running), you need to enable lpr support under "services". Please note that lpr support is only available under XP-Pro, NOT under XP-Home.

And even then it's kludgy and hard to administer. It's easier to just dump into a file and spawn (Win32::CreateProcess()) something to do the dirty work of sending it to the printer, like maybe, ghostscript.


madams55075@comcast.net

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://346165]
help
Chatterbox?
[Tanktalus]: SwaJime: wouldn't status & status < 13 be true if status was 0?
[SwaJime]: I thought 0 was false, and false AND anything would be false ...
[SwaJime]: unless & is higher precedence than <
[SwaJime]: couldn't find bitwise in precedence list for sybase
[SwaJime]: I bet that is why ... and that makes it to be I think terribly written code :-|

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-08-22 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (338 votes). Check out past polls.

    Notices?