Piping text to an ieee-1284 / centronics parallel port
I want to send raw text to a parallel port (IEEE-1284) via a USB-parallel converter. I plug the converter in and the Mac recognizes it natively; it shows up in the list of printers in the System Profiler. How would I pipe text to the thing? With a serial device, it's easy, sending the text to the appropriate device in /dev/tty.*
Any pointers would be greatly appreciated.
-Michael
Central Harlem Anonymous wrote:
Once upon a time, parallel ports shows up as devices, and parallel printers were easy to talk to. Why is this so hard now?
I can't recall the last time I saw an Apple product that shipped with a parallel port, but I imagine its hard because there aren't enough people clamoring for 40 year old technology to justify maintaining support for it in modern source bases.
You can find what driver is matching for the device in the IORegistry with the ioreg tool.
Similar Messages
-
IEEE 1284 compliant parallel port for HP dv6 with W7 Pro 64bit
I am considering buying an HP dv6 laptop, but I also need an IEEE1284 compliant parallel port to program chips through. Do you know of an Express card to provide this feature, or a docking station which has such a parallel port?
Given the bad reviews associated with that link, I don't think so. I have tried a Sychrotech C-270 PC CardBus to IEEE 1284 Parallel Host Adapter on my Toshiba laptop with Vista Home Premium 32-bit. It would work for an old printer, but does not support the 2-way interchange that the Altera ByteBlasterMV programming unit requires.
Any other ideas? Otherwise, I guess I'm stuck using an older desktop with a fully functional parallel port. -
Problems with ieee 1284 (parallel port)
hi.
I hope somebody can help me, I want to control the pins of the ieee 1284 to communicate with a pic, but i havent found any example or anything to do it, please help!!! :(You didn't search, did you?
http://onesearch.sun.com/search/onesearch/index.jsp?qt=parallel+port&subCat=siteforumid%3Ajava31&site=dev&qp=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums -
IEEE 1284 parallel printer cable
I want to find a replace printer cord that still allows the parallel port into my HP printer and the other end to have a USB connector into my pc. Does HP offer this configuration OR can I take my existing dual parallel printer cable and buy some sort of connector that converts the pc parallel port to a USB port?
This question was solved.
View Solution.What printer model? What operating system? (Some printers like the Deskjet 900 series printers have a USB port that is generally not visible....)
USB-Parallel converters are available from a number of sources for <$20 US. Make sure the cable you purchase is supported by your operating system. The models listed here have been confirmed by users to work in Windows 7.
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
Hi, I am following this post as I am having the same problem that I am trying to install LaserJet 1300 on my Window XP computer. I see the post indicates IEEE 1284.4 printer support is included in Windows 7. Does that mean I installed wrong printer driver? From the device driver page, I only see driver for XP 64 bits, Windows 7 and Windows 8 and I selected Windows 7 32bits (because I have Windows XP 32 bits system). or if there is IEEE 1284.4 printer support driver for Windows XP can download?
The basic print driver for your printer are already included within Windows 7 32 bit OS.
1. Plug a USB cable from your printer to your PC.
2. Windows 7 is suppose to automatically detect and install built in drivers.
NOTE: Computer may need to be connected to the internet in order for Windows to automatically download the updated built-in driver list.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01874792&cc=us&dlc=en&lc=en&os=4062&product=899...
By the way, IEEE 1284.4 printing support refers to the much older bi-directional parallel port printers.
http://en.wikipedia.org/wiki/IEEE_1284
Windows may be generically calling it that because it does not yet recognize your printer.
Let me know if this helps.
Say "Thanks" by clicking the blue Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution"; therefore, it's easier for others to find.
I am an HP employee. -
Generic IEEE 1284.4 printing support
I have Windows 7 32bit and HP Officejet 5110 all-in-one printer. Install of Generic IEEE 1284.4 printing support driver is failed and i can't install my printer. Any ideas to solve this problem?
The basic print driver for your printer are already included within Windows 7 32 bit OS.
1. Plug a USB cable from your printer to your PC.
2. Windows 7 is suppose to automatically detect and install built in drivers.
NOTE: Computer may need to be connected to the internet in order for Windows to automatically download the updated built-in driver list.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01874792&cc=us&dlc=en&lc=en&os=4062&product=899...
By the way, IEEE 1284.4 printing support refers to the much older bi-directional parallel port printers.
http://en.wikipedia.org/wiki/IEEE_1284
Windows may be generically calling it that because it does not yet recognize your printer.
Let me know if this helps.
Say "Thanks" by clicking the blue Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution"; therefore, it's easier for others to find.
I am an HP employee. -
HP color laserjet 4600 parallel port is wierd need help to identify
Hi I have a laserjet 4600 and it has a wierd looking parallel port and I can't seem to find out the name for it so I can buy it online. I have tried looking for it online but the only thing that comes up is the IEEE 1284 36 pin parallel port. Can anyone help me identify this port so I can connect it to my computer?
Thanksdan4757 wrote:
I am running windows 7 64 bit trying to connect to a HP color laser jet 4600. We have tried multiple times to get a Notebook to load the driver. Everything works and asks to print a test page. When you press print test page nothing happens and nothing will print.
This is a working printer. It is presently hooked to a network and it works from it. I am trying to make it work from my notebook. I am using a ethernet cable wired directly to the Jetdirict card.
Do I need to set up a network. I know the IP of the printer and can not access it from the Notebook.
This should work for you. I've installed several printers using a Jet Direct this way:
Install the printer manually. Go into Devices and Printers -> Click "Add a printer" then select "add a local printer" and select the option for "Create a new port - Standard TCP/IP Port" and click next. Type the IP address of the printer into the Hostname/IP Address field then click "next" - Choose Hewlett Packard Jet Direct from the Standard drop down menu then click next. You will need to select your printer model/driver from the list and then click next. -
Hi guys,
I just bought a new PC for my parents (Dell Inspiron, Merry Christmas...), and realized only this morning that it doesn't have a parallel port to support their antique laser printer (which still works well).
I did a quick search and found these Parallel Port to USB cables:
http://www.tigerdirect.ca/applications/ … &CatId=471
http://www.thesourcecc.com/estore/Produ … ct=2608263
I prefer the latter because tiger direct charge way too much for shipping and there's a The Source in town here.
Will these work with Linux -- they claim its seamless, but I can imagine cups possibly getting confused if it expects a parallel port and gets USB? Any idea how they work?
Also, the printer is from 1994, will it work with a IEEE-1284 parallel port, or were they using EPP or something else back then?
I could also get a PCI parallel port adaptor, but you've probably heard my horror stories every time I open a case. ;-)
Thanks for any advice!
DustyI was just given an old Canon BJC-1000 printer with a parallel to USB adapter today. Cups does find the printer and will print on it. My only problem so far is that the page is shrunk down to about 1/16 of its original size! It's very funny but not real convenient.
Edit
Never mind that. It works!!! Readjusted everything in the CUPS config, restarted my application, and all is well.
Last edited by skottish (2007-12-26 01:49:54) -
Laser Jet 4000 Parallel Port to USB
I have a Laser Jet 4000 that I've tried to connect to my new computer using a parallel to USB cable. Now when I shut down Windows XP I get a Blue Screen and the computer does not shut down automatically. Sometimes I get a message that there is a driver/device conflict. When I disconnect the USB cable to the printer, the problem disappears. What can I due to get the Laser Jet 4000 to work with Windows XP properly?
You could purchase and install an IEEE 1284 card on your PC, which will have a parallel port on it. This way, you can connect the printer directly to the PC. You could also install the latest drivers for the Parallel-to-USB converter and see if it helps.
Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
Click on the BLUE KUDOS button on the left to say "Thanks"
I am an ex-HP Employee. -
Hi,
I am new to ArchLinux and have been using Gentoo since qutie a while. After installing nearly everything I need I am now struggling with the printer setup. I guess this is due to a problem with my parallel port, cause it does not show up in the selection box of cups. I can choose serial and usb ports, but no parallel ports. I have installed some modules like
lp & parport
I also have cups running of course and it connects. My question is the kernel (2.6.4) must be compiled with support for the parallel port by default, right? At least after loading these modules it should work. What am I missing?
Thanks already!!!Good advice! Haven't solved it yet, but FWIW I can read the cups documentation. So I set the log to debug mode and here it is:
This log content follows
lp fstab
18/Mar/2004:18:13:15 +0000] AcceptClient() 5 from localhost:631.
ReadClient() 5 POST / HTTP/1.1
ProcessIPPRequest: 5 status_code=1
CloseClient() 5
AcceptClient() 5 from localhost:631.
ReadClient() 5 POST / HTTP/1.1
ProcessIPPRequest: 5 status_code=1
CloseClient() 5
AcceptClient() 5 from localhost:631.
ReadClient() 5 POST / HTTP/1.1
ProcessIPPRequest: 5 status_code=0
ReadClient() 5 POST /printers/lpr HTTP/1.1
print_job: auto-typing file...
print_job: request file type is text/plain.
check_quotas: requesting-user-name = 'root'
print_job: requesting-user-name = 'root'
Adding start banner page "none" to job 16.
Adding end banner page "none" to job 16.
Job 16 queued on 'lpr' by 'root'.
Job 16 hold_until = 0
StartJob(16, 0x8093b70)
StartJob() id = 16, file = 0/1
job-sheets=none,none
banner_page = 0
StartJob: argv = "lpr","16","root","fstab","1","","/var/spool/cups/d00016-001"
StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
StartJob: envp[1]="SOFTWARE=CUPS/1.1"
StartJob: envp[2]="USER=root"
StartJob: envp[3]="CHARSET=iso-8859-1"
StartJob: envp[4]="LANG=en"
StartJob: envp[5]="PPD=/etc/cups/ppd/lpr.ppd"
StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
StartJob: envp[7]="RIP_MAX_CACHE=8m"
StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
StartJob: envp[9]="CONTENT_TYPE=text/plain"
StartJob: envp[10]="DEVICE_URI=parallel:/dev/lp0"
StartJob: envp[11]="PRINTER=lpr"
StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
StartJob: envp[14]="CUPS_SERVER=localhost"
StartJob: envp[15]="IPP_PORT=631"
StartJob: statusfds = [ 7 8 ]
StartJob: filterfds[1] = [ 9 -1 ]
StartJob: filter = "/usr/lib/cups/filter/texttops"
StartJob: filterfds[0] = [ 10 11 ]
start_process("/usr/lib/cups/filter/texttops", 0xbffeff30, 0xbffef2a0, 9, 11, 8)
Started filter /usr/lib/cups/filter/texttops (PID 2486) for job 16.
StartJob: filter = "/usr/lib/cups/filter/pstops"
StartJob: filterfds[1] = [ 9 12 ]
start_process("/usr/lib/cups/filter/pstops", 0xbffeff30, 0xbffef2a0, 10, 12, 8)
I [18/Mar/2004:18:13:15 +0000] Started filter /usr/lib/cups/filter/pstops (PID 2487) for job 16.
StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
StartJob: filterfds[0] = [ 10 11 ]
start_process("/usr/lib/cups/filter/foomatic-rip", 0xbffeff30, 0xbffef2a0, 9, 11, 8)
Started filter /usr/lib/cups/filter/foomatic-rip (PID 2488) for job 16.
StartJob: backend = "/usr/lib/cups/backend/parallel"
StartJob: filterfds[1] = [ -1 9 ]
start_process("/usr/lib/cups/backend/parallel", 0xbffeff30, 0xbffef2a0, 10, 9, 8)
Started backend /usr/lib/cups/backend/parallel (PID 2489) for job 16.
ProcessIPPRequest: 5 status_code=0
This looks like the problem? Can't find status 22 explanation but must be the next line.
PID 2488 stopped with status 22!
[Job 16] /usr/lib/cups/filter/foomatic-rip: No such file or directory
[Job 16] Page = 612x792; 0,0 to 612,792
[Job 16] ppd->num_fonts = 35
[snip]
[Job 16] ppd->fonts[8] = Courier
[Job 16] Page = 612x792; 0,0 to 612,792
[Job 16] slowcollate=0, slowduplex=0, sloworder=0
[Job 16] 0 %%BoundingBox: 0 0 612 792
[Job 16] 0 %%Creator: texttops/CUPS v1.1.20
[Job 16] 0 %%CreationDate: Thu Mar 18 18:13:15 2004
[Job 16] 0 %%Title: fstab
[Job 16] 0 %%For: root
[Job 16] 0 %%Pages: (atend)
[Job 16] 0 %%DocumentNeededResources: font Courier-Bold
[Job 16] 0 %%+ font Courier
[Job 16] 0 %%DocumentSuppliedResources: procset texttops 1.1 0
[Job 16] 0 %%+ font Courier-Bold
[Job 16] 0 %%+ font Courier
[Job 16] 0 %%EndComments
[Job 16] 0 %%BeginProlog
[Job 16] 0 %%BeginResource: font Courier-Bold
[Job 16] 0 %%CreationDate: Wed Dec 22 1999
[Job 16] 0 %%EndResource
[Job 16] 0 %%BeginResource: font Courier
[Job 16] 0 %%CreationDate: Wed Dec 22 1999
[Job 16] 0 %%EndResource
[Job 16] 0 %%BeginResource: procset texttops 1.1 0
D [18/Mar/2004:18:13:15 +0000] [Job 16] 0 %%EndResource
[Job 16] 0 %%EndProlog
[Job 16] 0 %%Page: 1 1
[Job 16] 0 %%Page: 1 1
[Job 16] pw = 612.0, pl = 792.0
[Job 16] PageLeft = 0.0, PageRight = 612.0
[Job 16] PageTop = 792.0, PageBottom = 0.0
[Job 16] PageWidth = 612.0, PageLength = 792.0
[Job 16] 0 %%Trailer
[Job 16] Saw Trailer!
[Job 16] Saw EOF!
UpdateJob: job 16, file 0 is complete.
CancelJob: id = 16
StopJob: id = 16, force = 0
StopJob: printer state is 3
CloseClient() 5
Bill Barnes -
Using Parallel Port with Outport.vi Problem
Hello,
I am trying to use my parallel port to control a relay network and have run into a problem. I am using the outport instead of visa because for some reason I get an error with visa and outport seems more simple. The problem I am having is that my program doesn't seem to be able to initially take control of the port. What I mean by this is that if I restart the computer and open/run my program, I get an incorrect output on the parallel port. However, if I run one of the example programs for controlling the paralle port using outport (attached) (I believe the one I use is called Reading and writing to parallel port using loops) I am able to control the output to the parallel port. Also, after the example has run, my program works correctly. However, if I restart my computer again and run my program first it can no longer control the port correctly. So the problem seems to be that my program isn't initializing the port correctly or assessing it right at the beginning of the program. However, looking at the example program I don't really see what they are doing that I am not. I have the correct port address.
My program takes values from a text file and displays them on the port and that works correctly.
Attachments:
CircuitTopModule.vi 26 KB
parallel port examples.llb 72 KBHi Jag213, I'm glad you were able to resolve the issues you discussed on the other forum related to this issue.
Now that you have it working, I would recommend a few things:
1. Just try modifying one of the existing examples and see what you can get away with removing in order to keep it working the first time.
2. Try modifying the timing on your example - 10 seconds is a long time to wait between each week, I wonder if you are getting a time out? Do the examples work when you insert that kind of timing delay?
3. Add the In Port.vi into your code - this may be related to getting your Out Port.vi to work correctly.
4. Your code controls 8-bits on the parallel port, while the examples control 32-bits. Do all 32 bits need to be initalized? Looking at the Parellel Port Read and Write Loop.vi Example, in the IO Connector Status, the 31st bit controls whether the target is initialized.
Play with these settings and see if you can get yours to work the first. If all else fails, build your program to run off of one of the examples. For example, have the while loop run once, and then call yours as a SubVI.
Good luck!
Joey S.
Software Product Manager
National Instruments -
I'm trying to connect my venerable HP2100 printer to my new imac, but without success. I got a startech adapter which allows the computer to see the printer and vice-versa, OSX loaded the driver fine, but the printing information doesn't seem to get to the printer, which produces pages of nonsense amid many blank pages. Should I use a different adapter? Other solution? Junk the old war-horse printer?
thx, smhHI,
sorry to hear that it did not work! Just to clarify, this is what I did, after which OS-X installed the correct Gutenberg driver:
The parallel port on the printer can either be a 25-pin D-shaped connector or a 36-pin Centronics style connector.
The iMac’s output is the USB port.
My printer is the HP LaserJet 4L.
Solution:
Purchased an adapter, e.g. Maplin’s A94BF USB to 25-pin Parallel Adapter, at around £15 ($20).
Googled for and downloaded the 180kb file ''usbtb-1.0.17.uni.dmg''
1. Connected the printer via the adapter with the iMac.
2. Added new printer in the Printer and Fax menu, selecting the driver from the drop-down list (i.e. HP LaserJet 4L – Gutenprint v.5.2.3)
3. Install the USBTB software. When the list of the USBTB’s drivers opens, only select a driver from it if one is shown for your printer. Otherwise ‘Cancel’ that operation. The previously installed Apple driver will be ok.
My LJ4L works ok under OS-X, Windows 7 in BootCamp and Windows 7 and XP in two Parallels-5 virtual modes on the iMac.
Good Luck -
Does anyone know whats the limit of the parallel port (current source and
sink characteristics)
Thanks,pcf:
Current limits are pretty low for parallel ports, I believe on the
order of <100mA but I'm not absolutely sure so be sure to check out
the website I'm going to mention in a minute. Remember these parallel
port chips are basically just regular 5V TTL. Laptops are even lower
because of lower operating voltages (3.3) and CMOS implementations.
You may need to build a driver circuit with some opto-isolation
protection for your PC if you are trying to drive more current than
100ma per line.
The best place to check for parallel port information is Lakeview
Research's ww.lvr.com/parport.htm Jan Axelson's "Parallel Port
Complete" is the best text on the subject and reasonably cheap (about
$25) and the website is her website with a lot of links for parallel
port information.
Lakeview Research's website also has information on serial (RS-232)
and USB interfacing as well. www.lvr.com
Douglas De Clue
LabVIEW developer
[email protected]
"pcf" wrote in message news:...
> Does anyone know whats the limit of the parallel port (current source and
> sink characteristics)
>
> Thanks, -
Parallel port communication error with new addresses
MD2 motors controlled by LabVIEW. I am trying to communicate with the motors through a parallel port. I plug in a PCI card which can provide another two parallel ports. I check their addresses which are 1110-1117 and 1120-1127. Then I replaced the old addresses (378), but could not communicate any more, neither writing nor reading. The parallel port setting in BIOS is bi-directional, since both writing and reading are necessary. Does this matter?
I really have no clue why or how this could happen. Any help appreciated.Hai,
I have installed a additional parallel port card (in pci slot) in my pc. Then i installed the device driver that came along with the parallel port card. I
checked out the base address it was 278H (but i dint look the address before installing the device driver). In general centronics interface ( parallel port) are placed at their respective addresses strictly. Try reinstalling the device driver that came along with the external parallel port card or try latest updates from the manufacturer if available.
of the card.
With best regards,
JK1
With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved. -
Problem with JNI and Parallel Port dll
Hi. I'm doing some testes with JNI. Firs i followed the netbeans tutorial for doing a C programa that prints somthing for java.. like.. "Hello java from C".
So i tried to load a dll from my dll. Like, I have this dll to use the parallel port on windows Xp. So i created a dll to access it an comunicates eoth java.
I did everything just fine.
When I start my Java app, the first thing it does is to load this parallel port dll and configure the functions of it.
After that .. I get this error
EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0093d269, pid=2284, tid=3000
Can someone explain why ?
(Sorry if i wasn't clear enough, english is not my native language, so ask if you don't understand something.. )hi ,
I met the same problem this morning, and searched the www.google.com in order to solve it, as a result, your article was shown on my screen. :)
Till now I have read some technical information and solved my problems. Maybe the solution be useful to you:
==============================
error message : (Environment : Tomcat 5, Windows 2003, Mysql5)
2006-3-29 11:53:48 org.apache.catalina.core.StandardWrapper unload
message: Waiting for 2 instance(s) to be deallocated
==============================
cause: the number of connection to database exceeded.another word,too many connections.
==============================
solution: close the connection when it becomes useless for your program. :)
==============================
ps. Sorry for my weak English . hehe ....
Maybe you are looking for
-
Problem with call to BAPI when the data contains spaces
Hi everyone, I've a table in R3 that has 2 fields which is consulted via BAPI from XI. The Bapi call run correctly while the data don't contain spaces preffixed but when for example the data is ' A31' the BAPI call doesn't return nothing. The table s
-
How can I order a replacement disk for PSE 12
I have searched the website and i seem to be going in circles.
-
[iPhone] [Bug] Fixed Width Fonts Aren't
Aren't fixed width, that is. I imagine they're still fonts. =) Recently I've been doing some ASCII art applications on the iPhone and I've noticed that things don't render the way I expect. I threw together some quick demonstration images of boxes re
-
Ethernet port dead on Powerbook firewire
ethernet port dead on my Powerbook Firewire 400MHZ G3 1GB RAM 40GB HARD DRIVE DVD-ROM I tried Open Firmware Reset and PRAM RESET AND WOULD I NEED TO GET A NEW LOGIC BOARD. Joshua Lich The port stopped working for 2 months and i have no AHT DISKS OR P
-
In the storage there is " others" how can i find it and erase it
in the storage there is " others" how can i find it and erase it