I tried using Windump - a port of tcpdump - to see if I could catch anything. I set it to listen for incoming on port 9100 but couldn't see anything. (I could see traffic if I listened for other devices on the LAN.) This caused me to think that the stream might be interactive.
Any other ideas? I'll mess around with tcpdump/Windump between to laptops and see if I can understand how it's supposed to work.
---------- Post updated at 07:32 PM ---------- Previous update was at 06:49 PM ----------
Right. Two XP laptops.
Source: 192.168.3.3, with a generic/text printer driver pointing to 192.168.3.4, port 9100.
Dest: 192.168.3.4 (Hohner) running WinDump. WinDump listening to port 9100.
Here's what I got when I try to print "Hallo World!" from Notepad on source machine ...
It keeps repeating this and the print queue on source machine never clears. It looks like the source is expecting a response from dest.
Any ideas how to spoof a response from the "printer"?
Am I mad?
Last edited by transistor; 01-22-2010 at 03:46 PM..
Reason: Improved clarity - I hope!
OS: HP-UX B.11.11 U
Printer: HP 8150.
I require a font to be downloaded to the printer and used.
As documented the steps are:
1. Tell printer to accept font
2. Send the font to the printer
3. Make the font permanent
4. Select font for use
or in PCL
1. <Esc>*c90D
2.... (0 Replies)
Hi,
i willbe very much grateful to u if u help me out..
if i simply connect pbx machine to printer by serial port RS232 then we find this view:
But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe... (1 Reply)
Hi All :
I wanted a unix command by which I could be able to print the output to a file and at the same time to a printer. Any help will be greatly appreciated.
Regards,
Ramamurthy Dasari (1 Reply)
I installed an old laser printer using a print server. I can use from windows but not from unix. I set up the printer in unix as a remote printer and can ping the print server from a unix promt. I am thinking that I must open a port to the print server. Any suggestions? (3 Replies)
I need to setup a HP 4000 PCL printer - it seems out of the box - I can only can use PostScript. Any guidance is appreciated.
In the SCO world - I used HPNP with no problems. (2 Replies)
I've looked around and am able to print landscape to a PCL 5 printer with this command:
lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30
-d <printer> <file>.
Which gives me a nice 200 columns.
But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Hello all,
I need to setup a print server that listens on three separate network interfaces, and sends jobs to the corresponding print queue. Example:
192.168.69.100 - printer1 -> Out to 139.177.69.100:9100
192.168.69.101 - printer2 -> Out to 139.177.69.101:9100
192.168.69.102 - printer2 ->... (3 Replies)
Help!
I have to solve an urgent problem!
I have a Solaris 10 server, where I created a line of printing with the command
# /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
I am trying to get a network printer to work that currently works from my Unix (5.0.7) server when printing text files only. When I try to print post script files like a PDF file I get all of the controls so I am not sure if I have my printer configuration setup properly in Unix
The printer... (1 Reply)
I am trying to get an output using the command
tcpdump -w /tmp/syn.pcap 'tcp & (tcp-syn) != 0'
But I am getting the error:
tcpdump: no suitable device found
Is there an alternate command to achieve this? (4 Replies)
Discussion started by: ggayathri
4 Replies
LEARN ABOUT CENTOS
foomatic-getpjloptions
FOOMATIC-GETPJLOPTIONS(8) System Manager's Manual FOOMATIC-GETPJLOPTIONS(8)NAME
foomatic-getpjloptions - <put a short description here>
SYNOPSIS
foomatic-getpjloptions device
foomatic-getpjloptions hostname port
DESCRIPTION
foomatic-getpjloptions Sends a set of PJL commands and reads back the PJL options and status from a printer over a network connection or
device bidirectional interface such as parallel, USB, serial. printers to standard output. The output can be piped into foomatic-addpjlop-
tions to add options to the database.
Options
device The interface to which a local printer is connected, e.g. /dev/lp0, /dev/usb/lp0, /dev/tty00, etc. For a parallel port, you must
have bidirectional support enabled at the BIOS level and the parallel port driver must support the bidirectional mode. Check
your parallel port BIOS settings for EPP/bi-directional mode.
hostname Host name or IP address of a network printer (HP JetDirect, DLINK, etc.).
port Port on which your network printer listens for socket (Appsocket) connections. Most common ports are 9100 (JetDirect), 10000
(DLINK). Usually you can configure the port via a configuration interface.
EXIT STATUS
foomatic-getpjloptions returns ???
AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. Modified by Patrick Pow-
ell <papowell at lprng.com> to provide betters support for network printers, error messages, and remove CR and FF from output.
WARNINGS
Uni-directional protocols as remote LPD are not supported as no status is returned. Some network print servers which attach to a printer
parallel port do not support bidirectional mode.
Foomatic Project 2001-05-07 FOOMATIC-GETPJLOPTIONS(8)