printing error - help
flavius m
flaviusm at hotmail.com
Thu Jan 28 11:44:49 PST 2010
Hello,
The printer is defined in Filepro. This is how it shows up in Filepro Configuration:
23 pfprinter ? printer
where "printer" is the real name of the printer defined in linux for /dev/lp0.
Report command:
/appl/fp/dreport myreport -f myform -s -P printer
What is the difference between -p and -pn? (per online manual one selects the printer the other one sets the printer. What is the difference between the two?).
I get the same error if I try it as root or another user.
This is what I did:
I ran this:
/appl/fp/dreport myreport -f myform -s -pq
then selected default printer then the printer "printer" from the list and it worked. However it doesn't work the other way.
Thank you,
Flavius.
> Date: Thu, 28 Jan 2010 14:02:36 -0500
> From: kenbrody at gmail.com
> To: flaviusm at hotmail.com
> CC: filepro-list at lists.celestial.com
> Subject: Re: printing error - help
>
> On 1/28/2010 1:43 PM, Flavius Moldovan wrote:
> > Hello,
> >
> > These are the permissions for tmp directory and the printer device:
> >
> > drwxrwxrwt 15 root root 16384 Jan 28 12:34 /tmp
> >
> > crw-rw-rw- 1 root lp 6, 0 Jul 29 2009 /dev/lp0
> >
> > If I print to a file ( "-p /tmp/filename.txt") it works ok.
> [...]
> >>> *** A System Error Has Occurred ***
> >>>
> >>> Cannot Open Print File
> >>>
> >>> printer: Permission denied
> >>>
> >>>
> >>> I have tried both the "-P printername" in the command line and the "printer name "printername" " in the processing.
>
> What, exactly, are you using when it fails?
>
> What command-line flags are you using?
>
> What is the exact destination command defined in pmaint for the specified
> printer?
>
> Note that, to specify a printer _name_ on the command, use "-pn", not "-p".
>
> --
> Kenneth Brody
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/196390708/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20100128/94b98b33/attachment.html
More information about the Filepro-list
mailing list