<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br><br>The printer is defined in Filepro. This is how it shows up in Filepro Configuration:<br>23 pfprinter ? printer <br><br>where "printer" is the real name of the printer defined in linux for /dev/lp0.<br><br>Report command:<br>/appl/fp/dreport myreport -f myform -s -P printer<br><br>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?).<br><br>I get the same error if I try it as root or another user.<br><br>This is what I did:<br><br>I ran this:<br>/appl/fp/dreport myreport -f myform -s -pq<br><br>then selected default printer then the printer "printer" from the list and it worked. However it doesn't work the other way.<br><br>Thank you,<br>Flavius.<br><br><br><br><br>> Date: Thu, 28 Jan 2010 14:02:36 -0500<br>> From: kenbrody@gmail.com<br>> To: flaviusm@hotmail.com<br>> CC: filepro-list@lists.celestial.com<br>> Subject: Re: printing error - help<br>> <br>> On 1/28/2010 1:43 PM, Flavius Moldovan wrote:<br>> > Hello,<br>> ><br>> > These are the permissions for tmp directory and the printer device:<br>> ><br>> > drwxrwxrwt 15 root root 16384 Jan 28 12:34 /tmp<br>> ><br>> > crw-rw-rw- 1 root lp 6, 0 Jul 29 2009 /dev/lp0<br>> ><br>> > If I print to a file ( "-p /tmp/filename.txt") it works ok.<br>> [...]<br>> >>> *** A System Error Has Occurred ***<br>> >>><br>> >>> Cannot Open Print File<br>> >>><br>> >>> printer: Permission denied<br>> >>><br>> >>><br>> >>> I have tried both the "-P printername" in the command line and the "printer name "printername" " in the processing.<br>> <br>> What, exactly, are you using when it fails?<br>> <br>> What command-line flags are you using?<br>> <br>> What is the exact destination command defined in pmaint for the specified <br>> printer?<br>> <br>> Note that, to specify a printer _name_ on the command, use "-pn", not "-p".<br>> <br>> -- <br>> Kenneth Brody<br>                                            <br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/196390708/direct/01/' target='_new'>Get it now.</a></body>
</html>