Re: lpr problems

From: Hunter, Mark (Mark.Hunter_at_ANHEUSER-BUSCH.COM)
Date: 06/28/04

  • Next message: Miller, Dave (I.S.): "Vg/lv/fs scripts"
    Date:         Mon, 28 Jun 2004 11:15:30 -0500
    To: aix-l@Princeton.EDU
    
    

    I note that you are using lpr -s (don't copy before printing).
    Per the man pages:
    -s Prints from the files specified on the command line rather than trying to
    copy them (so large files can be printed). This means the data files should not
    be modified or removed until they have been printed. 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.

    Thus, your file is being copied anyway. Do you have sufficient space on the
    local box to do the copy?

    Mark Hunter

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    John Dunn
    Sent: Monday, June 28, 2004 11:01 AM
    To: aix-l@Princeton.EDU
    Subject: Re: lpr problems

    I already set the timeout to 60 minutes when I created the AIX queue.
    It doesn't seem to help, unfortunately

    > John Dunn
    > Product Consultant
    > Sefas Innovation Limited
    > Tel: +44(0) 117 915 4267
    > Email jdunn@sefas.com
    > www.sefas.com
    >
    >
    >

    -----Original Message-----
    From: Chafik,Basim [mailto:Basim.Chafik@plx.com]
    Sent: 28 June 2004 16:19
    To: 'jdunn@SEFAS.COM'
    Subject: RE: lpr problems

    Hi John,

    You have to increase the time out on the queue. Add "-T500" to the end of
    the rembak line for the specified queue in the /etc/qconfig. You will have
    to stop and restart qdaemon to take effect.

    Basim Chafik
    Senior Systems Analyst
    IBM Certified Advanced Technical Expert (CATE)
    1.800.688.4895
    basim.chafik@plx.com
    plexus (Division of BancTec)

    -----Original Message-----
    From: John Dunn [mailto:jdunn@SEFAS.COM]
    Sent: Monday, June 28, 2004 10:44 AM
    To: aix-l@Princeton.EDU
    Subject: lpr problems

    I am attempting to use lpr on a file of approx 300 MB

    My syntax is lpr -s -Pmyqueue myfile

    I have set up a AIX remote queue pointing to a queue on NT.

    The problem is that when I run the command the queue shows SENDING for a
    while and then goes down.

    This also occurs if the remote queue is an AIX queue on another box.

    Sending small files is not a problem

    Any ideas?

    John Dunn
    Product Consultant
    Sefas Innovation Limited
    Tel: +44(0) 117 915 4267
    Email jdunn@sefas.com
    www.sefas.com


  • Next message: Miller, Dave (I.S.): "Vg/lv/fs scripts"

    Relevant Pages

    • Re: [Help] Printing problem in Mac OSX Leopard
      ... I think the issue is that the operating system lpr command (used by MATLAB to send the file to your printer) doesn't recognize the IP address as a printer. ... I think what you need to do is add the printer to your Mac, specifying that it is an IP printer and entering both the IP address as well as giving it a queue name, such as "networkprinter". ...
      (comp.soft-sys.matlab)
    • Re: print queue question - new to linux
      ... > I want to share a printer queue to the network, receive a PCL job, and ... > a process that manipulates the PCL, ... > print job saved as a file and is later sent to another queue for printing. ... Are you using a traditional lpr, lpr-ng, or CUPS? ...
      (comp.os.linux.misc)
    • Re: lpr problems
      ... Have you tried FTPing the file from the AIX box to the NT box? ... I am attempting to use lpr on a file of approx 300 MB ... I have set up a AIX remote queue pointing to a queue on NT. ... This also occurs if the remote queue is an AIX queue on another box. ...
      (AIX-L)
    • lpr problems
      ... I am attempting to use lpr on a file of approx 300 MB ... I have set up a AIX remote queue pointing to a queue on NT. ... This also occurs if the remote queue is an AIX queue on another box. ...
      (AIX-L)
    • Re: [Help] Printing problem in Mac OSX Leopard
      ... I think the issue is that the operating system lpr command (used by MATLAB to send the file to your printer) doesn't recognize the IP address as a printer. ... HP LaserJet 1320 series ...
      (comp.soft-sys.matlab)