LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-24-2015, 03:17 PM   #1
arnoanderson
LQ Newbie
 
Registered: Sep 2015
Location: Porto Alegre, Brazil
Distribution: Ubuntu
Posts: 4

Rep: Reputation: Disabled
Post Issues on CUPS pdf printer server


Hi!

I've created a Cups Server on Ubuntu and I'm trying to print from multi-parametric monitor to PDF, but the information is not sent.
Some observations:

- I configured the printer using the printer-driver-cups-pdf package.

-Other "normal" machines on the same network print-to-PDF on that CUPS server works fine

-The parametric monitor uses Webmin Interface to add printer, only using IP address and Printer Name (no port, no http:, no ipp, etc)

-About printing, the parametric monitor tech support manual says:
Outbound Connections:
Destination Device: Printer
Protocol: TCP
Destination Port: 631

-After send print test page:

/var/log/cups: no data

Tcpdump log:
19:16:48.438306 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [S], seq 3376652811, win 5840, options [mss 1460,sackOK,TS val 1136624 ecr 0,nop,wscale 5], length 0
19:16:48.439299 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [.], ack 4047344376, win 183, options [nop,nop,TS val 1136625 ecr 271325], length 0
19:16:48.442900 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [P.], seq 0:136, ack 1, win 183, options [nop,nop,TS val 1136628 ecr 271325], length 136
19:16:48.459695 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [P.], seq 136:509, ack 1, win 183, options [nop,nop,TS val 1136645 ecr 271326], length 373
19:16:48.556275 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [.], ack 26, win 183, options [nop,nop,TS val 1136728 ecr 271351], length 0
19:16:48.560213 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [.], ack 233, win 216, options [nop,nop,TS val 1136742 ecr 271354], length 0
19:16:48.560237 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [.], ack 363, win 250, options [nop,nop,TS val 1136742 ecr 271355], length 0
19:16:48.560243 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [F.], seq 509, ack 363, win 250, options [nop,nop,TS val 1136746 ecr 271355], length 0
19:16:48.682306 IP 192.168.2.20.50612 > 192.168.2.2.631: Flags [.], ack 364, win 250, options [nop,nop,TS val 1136752 ecr 271357], length 0

Monitor multi parametric address: 192.168.2.20
CUPS Server address: 192.168.2.2

Monitor:
http://www3.gehealthcare.com/en/prod...e_monitor_b650 (OS Linux)

Any ideas?

Thanks!
 
Old 09-25-2015, 08:28 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Welcome to LinuxQuestions

What version of Ubuntu is running on the server?

So nothing in the cups error_log, access_log, page_log or cups-pdf_log?

The printer name is case sensitive, did you set up the monitor using Cups-PDF?

Are there any other print options on the monitor? Is there a local technician for the monitor that is available to ask if there are any problems or bugs with printing?
 
Old 09-25-2015, 09:34 AM   #3
arnoanderson
LQ Newbie
 
Registered: Sep 2015
Location: Porto Alegre, Brazil
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Welcome to LinuxQuestions

What version of Ubuntu is running on the server?

So nothing in the cups error_log, access_log, page_log or cups-pdf_log?

The printer name is case sensitive, did you set up the monitor using Cups-PDF?

Are there any other print options on the monitor? Is there a local technician for the monitor that is available to ask if there are any problems or bugs with printing?

Hi Michael, thanks for helping me.

Ubuntu 14.10

No errors. It seems like the information sent from monitor its not coming to Server. But ping and tcpdump commands show just the contrary.

I used case sensitive.

No other options, only ip address and printer name. Which socket uses this informations? (I'm with the equipment on my side)

This equipment works with network PCL5 compatible printers.

Last edited by arnoanderson; 09-25-2015 at 09:36 AM.
 
Old 09-25-2015, 01:07 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Normally, to print directly to cups you would use http://IP or hostname:631/printers/printer_name. Not enough information to know how the monitor print function works. If the monitor is not configured to print to the printer queue then that might be causing your problem.

I assume this set correctly. In the file /usr/share/cups/mime/mime.convs the following line should not be commented (#).

application/octet-stream application/vnd.cups-raw 0 -

I assume the monitor can printer directly to a real network printer?

Last edited by michaelk; 09-25-2015 at 04:04 PM.
 
Old 09-25-2015, 02:04 PM   #5
arnoanderson
LQ Newbie
 
Registered: Sep 2015
Location: Porto Alegre, Brazil
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Normally, to print directly to cups you would use http://IP or hostname:631/printers/printer_name. Not enough information to know how the monitor print function works. Normally a network printer would use port 9100 so if the service manual mentions 631 then I assume it must be programmable. If the monitor is not configured to print to the printer queue then that might be causing your problem.

I assume this set correctly. In the file /usr/share/cups/mime/mime.convs the following line should not be commented (#).

application/octet-stream application/vnd.cups-raw 0 -

I assume the monitor can printer directly to a real network printer?


This line application/octet-stream application/vnd.cups-raw 0 - is ok.

The monitor can print directly (Only usb or network PCL5 compatible printers)

Which protocol is used by these printers ?

Thanks!

Last edited by arnoanderson; 09-25-2015 at 02:16 PM.
 
Old 09-25-2015, 04:56 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I simulated as best I could a print job from the monitor by transmitting a file via netcat. The windows print to file saves it in the printer raw format so it is real PCL code not that it matters.

nc 192.168.0.199 631 < test_file.prn

And the cups error message (error_log):
Quote:
Unable to encrypt connection from 192.168.0.200 - A record packet with illegal version was received.
So as expected since you can not specify the printer queue you can not print via cups. Possible to come up with an alternative method but my only solution is on a standalone computer.
 
Old 09-26-2015, 12:02 AM   #7
arnoanderson
LQ Newbie
 
Registered: Sep 2015
Location: Porto Alegre, Brazil
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: Disabled
That makes sense.

I would hardly be able to help with GE support, so I'll stop for now.

Thank you, michaelk!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cups-pdf filename from printer wpflum Linux - General 8 03-21-2024 01:12 PM
My cups-pdf pdf printer is not working. sgsawant Linux - Software 1 03-16-2010 02:35 AM
CUPS - adding pdf printer satimis Fedora 2 06-29-2006 09:24 PM
Virtual Printer / CUPS-PDF Printer Issue in SuSE 10 jlstratton42 SUSE / openSUSE 0 12-21-2005 11:04 AM
Cups Pdf Printer Setup -- Samba treedstang Linux - General 0 07-03-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration