Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Print jobs to AppSocket/JetDirect printer hang in queue

  1. #1

    Print jobs to AppSocket/JetDirect printer hang in queue

    I have added a network (AppSocket/JetDirect) printer using YaST2, the connection test succeeds, and I can telnet to the printer on port 9100, but any jobs submitted using 'lp', 'lpr', or the 'Print test page' function in YaST just sit in the queue and never print. Running tcpdump to show traffic between the server and the printer only shows a couple of SNMP packets, and no other traffic. This doesn't seem to be a network connectivity issue, because I am able to cat a file and pipe that to netcat and send it to port 9100 and it prints - albeit with the stair-stepping effect.

  2. Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Quote Originally Posted by afairch View Post
    I have added a network (AppSocket/JetDirect) printer using YaST2, the connection test succeeds, and I can telnet to the printer on port 9100, but any jobs submitted using 'lp', 'lpr', or the 'Print test page' function in YaST just sit in the queue and never print. Running tcpdump to show traffic between the server and the printer only shows a couple of SNMP packets, and no other traffic. This doesn't seem to be a network connectivity issue, because I am able to cat a file and pipe that to netcat and send it to port 9100 and it prints - albeit with the stair-stepping effect.
    Hi and welcome to the Forum
    That sounds like the cups service is not running.... can you login to the cups interface on the host, localhost:631
    Last edited by malcolmlewis; 06-Feb-2018 at 21:19.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Once or twice I have seen printers get suspended, or equivalent, within my
    laptop. Is it possible that the state of the printer within your computer
    is suspended?

    On 02/06/2018 11:54 AM, afairch wrote:
    >
    > I have added a network (AppSocket/JetDirect) printer using YaST2, the
    > connection test succeeds, and I can telnet to the printer on port 9100,
    > but any jobs submitted using 'lp', 'lpr', or the 'Print test page'
    > function in YaST just sit in the queue and never print. Running tcpdump
    > to show traffic between the server and the printer only shows a couple
    > of SNMP packets, and no other traffic. This doesn't seem to be a network
    > connectivity issue, because I am able to cat a file and pipe that to
    > netcat and send it to port 9100 and it prints - albeit with the
    > stair-stepping effect.
    >
    >


    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below.

    If you want to send me a private message, please let me know in the
    forum as I do not use the web interface often.

  4. #4

    Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Quote Originally Posted by malcolmlewis View Post
    Hi and welcome to the Forum
    That sounds like the cups service is not running.... can you login to the cups interface on the host, localhost:631
    I can log in to the cups interface. Additionally 'systemctl status cups.service' shows that the service is Active and running.

  5. Re: Print jobs to AppSocket/JetDirect printer hang in queue

    On Thu 08 Feb 2018 06:54:02 PM CST, afairch wrote:

    malcolmlewis;50909 Wrote:
    > Hi and welcome to the Forum
    > That sounds like the cups service is not running.... can you login to
    > the cups interface on the host, localhost:631


    I can log in to the cups interface. Additionally 'systemctl status
    cups.service' shows that the service is Active and running.


    Hi
    So when you run your command (example of this?) do you see the job
    appear in the CUPS interface (paused?), then can you send the job to the
    printer, or it doesn't even get there?

    Is this ipv4 or ipv6?

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.3|GNOME 3.20.2|4.4.104-39-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  6. #6

    Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Quote Originally Posted by ab View Post
    Once or twice I have seen printers get suspended, or equivalent, within my
    laptop. Is it possible that the state of the printer within your computer
    is suspended?

    On 02/06/2018 11:54 AM, afairch wrote:
    >
    > I have added a network (AppSocket/JetDirect) printer using YaST2, the
    > connection test succeeds, and I can telnet to the printer on port 9100,
    > but any jobs submitted using 'lp', 'lpr', or the 'Print test page'
    > function in YaST just sit in the queue and never print. Running tcpdump
    > to show traffic between the server and the printer only shows a couple
    > of SNMP packets, and no other traffic. This doesn't seem to be a network
    > connectivity issue, because I am able to cat a file and pipe that to
    > netcat and send it to port 9100 and it prints - albeit with the
    > stair-stepping effect.
    >
    >


    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below.

    If you want to send me a private message, please let me know in the
    forum as I do not use the web interface often.
    Printer is not suspended, and this is not limited to just one printer, I have added another printer and am seeing the same behavior.

  7. #7

    Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So when you run your command (example of this?) do you see the job
    appear in the CUPS interface (paused?), then can you send the job to the
    printer, or it doesn't even get there?

    Is this ipv4 or ipv6?

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.3|GNOME 3.20.2|4.4.104-39-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!
    In the CUPS Jogs page, the job shows as completed, but with the message "Unable to write print data: Broken pipe", the Printers page shows the queue status as 'Idle - "Waiting for printer to finish."'

  8. Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Hi,

    > any jobs submitted using 'lp', 'lpr', or the 'Print test page' function in YaST just sit in the queue and never print.
    > Printer is not suspended, and this is not limited to just one printer, I have added another printer and am seeing the same behavior.

    What's in cups' (error) log, see /var/log/cups/* ? Anything suspicious in the output from "lpc status"?

    Might be some filter issue, but hopefully the error log will provide more details.

    Regards,
    J
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

  9. #9

    Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Quote Originally Posted by jmozdzen View Post
    Hi,

    > any jobs submitted using 'lp', 'lpr', or the 'Print test page' function in YaST just sit in the queue and never print.
    > Printer is not suspended, and this is not limited to just one printer, I have added another printer and am seeing the same behavior.

    What's in cups' (error) log, see /var/log/cups/* ? Anything suspicious in the output from "lpc status"?

    Might be some filter issue, but hopefully the error log will provide more details.

    Regards,
    J
    Output of 'lpc status' is normal. Since I have LogLevel set to debug, the error_log contains a LOT of information, but this snippet contains the error:

    Code:
    D [09/Feb/2018:14:22:16 +0000] [Job 53] backendRunLoop(print_fd=0, device_fd=6, snmp_fd=5, addr=0x7f817a9b5f58, use_bc=1, side_cb=0x7f817a53f410)
    D [09/Feb/2018:14:22:16 +0000] [Job 53] Read 8192 bytes of print data...
    D [09/Feb/2018:14:22:16 +0000] [Job 53] PID 14874 (/usr/lib/cups/filter/hpps) exited with no errors.
    D [09/Feb/2018:14:22:16 +0000] [Job 53] Wrote 5840 bytes of print data...
    D [09/Feb/2018:14:22:16 +0000] [Job 53] Error reading back-channel data: Connection reset by peer
    E [09/Feb/2018:14:22:16 +0000] [Job 53] Unable to write print data: Broken pipe
    D [09/Feb/2018:14:22:16 +0000] cupsdMarkDirty(---J-)
    D [09/Feb/2018:14:22:16 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
    D [09/Feb/2018:14:22:16 +0000] [Job 53] Set job-printer-state-message to "Unable to write print data: Broken pipe", current level=ERROR
    I [09/Feb/2018:14:22:16 +0000] [Job 53] Waiting for printer to finish.
    D [09/Feb/2018:14:22:16 +0000] Discarding unused job-progress event...
    D [09/Feb/2018:14:22:16 +0000] Discarding unused printer-state-changed event...
    D [09/Feb/2018:14:22:16 +0000] [Job 53] PID 14875 (/usr/lib/cups/backend/socket) exited with no errors.
    D [09/Feb/2018:14:22:16 +0000] [Job 53] time-at-completed=1518186136
    D [09/Feb/2018:14:22:16 +0000] Discarding unused job-completed event...
    I [09/Feb/2018:14:22:16 +0000] [Job 53] Job completed.
    D [09/Feb/2018:14:22:16 +0000] cupsdMarkDirty(---J-)
    D [09/Feb/2018:14:22:16 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
    D [09/Feb/2018:14:22:16 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
    D [09/Feb/2018:14:22:16 +0000] Discarding unused printer-state-changed event...
    D [09/Feb/2018:14:22:17 +0000] [Job 53] Unloading...

  10. Re: Print jobs to AppSocket/JetDirect printer hang in queue

    Hi,

    you said you had checked network traffic via tcpdump, but only got SNMP packets - so assuming you have not missed any packets (you might re-run this with filter "port 9100" just to be sure), this would imply that CUPS didn't even attempt to connect to the printer. Have you triple-checked your printer definition, i.e. in /etc/cups/printers.conf (DeviceURI) - any typos within the printer address (DNS name or IP) or port number, and if configured by name, does the host name resolve to the proper address (c&p the host name, don't retype, when checking... it's surprising how the human brain will auto-correct typos. Been there :-[ ).

    Regards,
    J
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •