vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| In article <4412dd31.0406150607.7c1fc6e5@posting.google.com >, John Leslie <johnleslie@madasafish.com> wrote: >On AIX is it possible to specify the name of the server that hosts >the printer? Or MUST one set up a remote printer on AIX and use that? Setup via /etc/qconfig. >Anyway to avoid the file being copied in these cirumstances? Maybe you want the "-s" flag to the "lpr" command? -- Ken Bell :: kenbell@panix.com :: (212) 475-4976 (voice) |
| |||
| man page says "Note that this flag only works on the local host (files sent to remote printer hosts are copied anyway), and only with named data files". kenbell@panix.com (Ken Bell) wrote in message news:<cao8k5$jvh$1@reader2.panix.com>... > In article <4412dd31.0406150607.7c1fc6e5@posting.google.com >, > John Leslie <johnleslie@madasafish.com> wrote: > >On AIX is it possible to specify the name of the server that hosts > >the printer? Or MUST one set up a remote printer on AIX and use that? > > Setup via /etc/qconfig. > > >Anyway to avoid the file being copied in these cirumstances? > > Maybe you want the "-s" flag to the "lpr" command? |
| |||
| In article <4412dd31.0406210242.777db80d@posting.google.com >, John Leslie <johnleslie@madasafish.com> wrote: >man page says > >"Note that this flag only >works on the local host (files sent to remote printer hosts are copied anyway), >and only with named data files". Yes, the man page is a bit confusing. The "-s" flag suppresses the local copy in any case, but of course, to transmit the file to the remote server, a "network copy" is still required. Without the "-s" flag, the file is first copied into /var/spool/qdaemon, and then copied over the network to the server. The point about "named data files" is well taken, though I suppose expected, given that only a named data file will have a directory entry and the lpr man page cautions against "removing" the file before printing has completed when the "-s" flag is used. >kenbell@panix.com (Ken Bell) wrote in message >news:<cao8k5$jvh$1@reader2.panix.com>... >> In article <4412dd31.0406150607.7c1fc6e5@posting.google.com >, >> John Leslie <johnleslie@madasafish.com> wrote: >> >On AIX is it possible to specify the name of the server that hosts >> >the printer? Or MUST one set up a remote printer on AIX and use that? >> >> Setup via /etc/qconfig. >> >> >Anyway to avoid the file being copied in these cirumstances? >> >> Maybe you want the "-s" flag to the "lpr" command? -- Ken Bell :: kenbell@panix.com :: (212) 475-4976 (voice) |
| |||
| lpr -s -P queuename filename seems to work except on large files. If I try and lpr a file of say 300 MB then the queue goes down. Smaller files are fine. This suggests to me that a local copy is still being taken? Any ideas? kenbell@panix.com (Ken Bell) wrote in message news:<cb7inc$mpc$1@reader2.panix.com>... > In article <4412dd31.0406210242.777db80d@posting.google.com >, > John Leslie <johnleslie@madasafish.com> wrote: > >man page says > > > >"Note that this flag only > >works on the local host (files sent to remote printer hosts are copied anyway), > >and only with named data files". > > Yes, the man page is a bit confusing. The "-s" flag suppresses > the local copy in any case, but of course, to transmit the file to > the remote server, a "network copy" is still required. Without > the "-s" flag, the file is first copied into /var/spool/qdaemon, > and then copied over the network to the server. > > The point about "named data files" is well taken, though I suppose > expected, given that only a named data file will have a directory > entry and the lpr man page cautions against "removing" the file > before printing has completed when the "-s" flag is used. > > > >kenbell@panix.com (Ken Bell) wrote in message > >news:<cao8k5$jvh$1@reader2.panix.com>... > >> In article <4412dd31.0406150607.7c1fc6e5@posting.google.com >, > >> John Leslie <johnleslie@madasafish.com> wrote: > >> >On AIX is it possible to specify the name of the server that hosts > >> >the printer? Or MUST one set up a remote printer on AIX and use that? > >> > >> Setup via /etc/qconfig. > >> > >> >Anyway to avoid the file being copied in these cirumstances? > >> > >> Maybe you want the "-s" flag to the "lpr" command? |
| |||
| "John Leslie" <johnleslie@madasafish.com> wrote in message news:4412dd31.0406280432.7f425d68@posting.google.c om... > lpr -s -P queuename filename > > seems to work except on large files. If I try and lpr a file of say > 300 MB then the queue goes down. Smaller files are fine. This suggests > to me that a local copy is still being taken? > The lpr command by default spools a copy of the job in /var/spool/qdaemon and prints that copy. You are correct that the -s on lpr is supposed to suppress the local copy. What happens if you use "enq -Pqname /some/file" instead? |
| ||||
| same thing error message displayed is 0781-088 Queue testnt2:@nt went down, job is still queued: Backend: /usr/lib/lpd/rembak -T60 -S nt -P HP_4100 -N /usr/lib/lpd/bsdshort \ /home/sefas/testfile Backend Exit Value: EXITBAD (0376) "LAIX Software Consulting" <laixsoft@flash.net> wrote in message news:<WwUDc.1337$Ol4.103@newssvr15.news.prodigy.co m>... > "John Leslie" <johnleslie@madasafish.com> wrote in message > news:4412dd31.0406280432.7f425d68@posting.google.c om... > > lpr -s -P queuename filename > > > > seems to work except on large files. If I try and lpr a file of say > > 300 MB then the queue goes down. Smaller files are fine. This suggests > > to me that a local copy is still being taken? > > > > The lpr command by default spools a copy of the job in /var/spool/qdaemon > and prints that copy. You are correct that the -s on lpr is supposed to > suppress the local copy. What happens if you use "enq -Pqname /some/file" > instead? |