Author Topic: Printing from the Zaurus  (Read 4584 times)

roderickv

  • Newbie
  • *
  • Posts: 39
    • View Profile
Printing from the Zaurus
« on: July 13, 2004, 12:13:51 pm »
OK, after find just the right software and ROM, I now have just about the perfect machine . I can go with out my laptop for most trips, except for one problem... I can't print from the Zaurus! I've searched through the site threads but I find little on the subject;

Has anyone figured out (or is working on) a way to print from the Zaurus? Most of the other good handhelds I've owned (all substandard to the Zaurus of course) had the ability to print directly from the infrared port to a printer that had an infrared port like the HP LJ 2100 for example.  Even the old Zaurus ZR8500 (totally different machine)  I owned could do this, But the new Zauri can't. I would even settle for a way to print wireless over an 80211b or g network, that would be great also. Are there no great minds working on this?
SL-C860 (Cacko "Elena" ROM)
SMC EZ Connect WIFI CF (smc-2642w)
Hatachi 4GB Micro Drive
SanDisk 512 SD
SanDisk 256 SD
PDair Case

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Printing from the Zaurus
« Reply #1 on: July 13, 2004, 12:46:22 pm »
I have tried to get CUPS working on Cacko many months ago and failed, but you might want to check these packages out:

CUPS
http://zsi2.stonekeep.com/index.php?v=d&a=1742

PIMPrint
http://zsi2.stonekeep.com/index.php?v=d&a=772

LPRNG
http://zsi2.stonekeep.com/index.php?v=d&a=389

Hope this helps!

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

rrashkin

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • http://pwp.t-3.cc/rrashkin
Printing from the Zaurus
« Reply #2 on: July 13, 2004, 12:48:02 pm »
I think I read (in this forum?) that you can print text files over IR to a printer (assuming the printer has an IR sensor).

What I do on trips is bring along a CF or SD reader and borrow a PC when I need to print.
Bob Rashkin
rrashkin@csc.com
SL5500/Sharp3.1
Targus IR keyboard

roderickv

  • Newbie
  • *
  • Posts: 39
    • View Profile
Printing from the Zaurus
« Reply #3 on: July 13, 2004, 01:10:02 pm »
Quote
What I do on trips is bring along a CF or SD reader and borrow a PC when I need to print.

Yes that is what I am forced to do right now. I carry around a Jump Drive Trio http://www.lexar.com/dynamic-frameset_jd.h...ve/jd_trio.html
which works great, but it is a pain to have to find a free PC, transfer my document to the SD card and then put the SD card into the Jumpdrive and then put the jumpdrive into the PC and then bring up the document and print it... I would rather point my Z at the printer and hit ctl-P
SL-C860 (Cacko "Elena" ROM)
SMC EZ Connect WIFI CF (smc-2642w)
Hatachi 4GB Micro Drive
SanDisk 512 SD
SanDisk 256 SD
PDair Case

roderickv

  • Newbie
  • *
  • Posts: 39
    • View Profile
Printing from the Zaurus
« Reply #4 on: July 13, 2004, 01:16:54 pm »
Quote
I have tried to get CUPS working on Cacko many months ago and failed, but you might want to check these packages out:

Thanks I will definitely check them out. But at first glance, none of them seem to be real, and complete solutions.
SL-C860 (Cacko "Elena" ROM)
SMC EZ Connect WIFI CF (smc-2642w)
Hatachi 4GB Micro Drive
SanDisk 512 SD
SanDisk 256 SD
PDair Case

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Printing from the Zaurus
« Reply #5 on: July 13, 2004, 05:14:13 pm »
We had a chat about this on the devnet a long while back. I can't remember what was decided. Try a search for ghostscript.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

boosalis

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://
Printing from the Zaurus
« Reply #6 on: July 22, 2004, 12:18:30 pm »
If your printer has an IP address, you might try to figure out how to telnet a page to it.  For grins I tried it just now to my printer.  I looked at my /etc/cups/printers.conf file on my desktop and saw my printer with the following entry:DeviceURI socket://172.16.100.205:9100
So from a command line I typed in
telnet 172.16.100.205 9100
And from the prompt I typed in
"this is a test"  then hit ^] to terminate the connection.

the good news was that I got the page to print out but it had a strange header and footer, both the same which looked like the 2 of clubs from a card deck.

If you could figure out how to pipe or cat  a file's contents to the telnet command you would at least get your output.  then you just need to find out what the proper header should be and add that to your file (maybe look at lpr source code)

Definetly a hack solution.
Zaurus 6000 with expansion jacket

coder101

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Printing from the Zaurus
« Reply #7 on: July 23, 2004, 03:06:23 am »
Port 9100 is a common port to talk to printers. A HP print driver should be able to be configured to send stuff down that port and print maybe PCL type data streams as well as normal text. CUPS should be able to help here.
SL-C860 from Brando, Micro Power PtoGo 240V adapter, SanDisk CF Low Power Wireless Lan, 256MB Lexar CF, 128MB Medion CF, 128MB Traveler SD, iPDA USB SyncCable, 7in1 Card Reader and Writer USB

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Printing from the Zaurus
« Reply #8 on: July 23, 2004, 06:57:24 am »
This is all well and good, but unless the applications themselves are willing to output either ps or raster type data which CUPS can use then it's not really going to go anywhere - I think this was the conclusion which we drew before.

I'm not sure wqhat the answer is. Obviously some stuff will work and can be printed as text. Perhaps another method would be to take screenshots (assuming we don't have the source code to enable raster output) and then feed those through.

As I said before, ghostscript compiled without troubles, so we should also be able to print ps and pdf files at least, assuming CUPS works okay (it certainly compiled okay).


Si

P.S. Here are the (old) links from the devnet, which might add some more to the discussion:

http://www.zaurus.com/dev/board/index.php?...&hl=ghostscript
http://www.zaurus.com/dev/board/index.php?...&hl=ghostscript
http://www.zaurus.com/dev/board/index.php?...&hl=ghostscript
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

dwagelaar

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://soft.vub.ac.be/soft/members/denniswagelaar
Printing from the Zaurus
« Reply #9 on: August 11, 2004, 05:36:55 am »
It seems that printing (cups, lprng, smbprint, etc.) still doesn't work with the standard SHARP rom on my Zaurus SL-C860... I might try setting up my own cross-compiling environment in the future, but for now I haven't time.

Since I'm using Linux print servers, I can use SSH for printing:

Code: [Select]
cat myfile.ps | ssh username@server lpr
When using CUPS on the server, it should understand several other file formats as well (not just postscript).
Zaurus SL-C1000 / Cacko ROM 1.23
Planex 802.11b WiFi CF
1GB PNY SD card
LowePro D-Pods-40 carrying case

Zuber

  • Sr. Member
  • ****
  • Posts: 277
    • View Profile
    • http://www.shirtpocket.co.uk
Printing from the Zaurus
« Reply #10 on: August 11, 2004, 06:40:15 am »
Somewhat on a tangent to the above, but Sharp Japan have recently got some printer drivers out for the clamshell models.

They are not clever, just output via infra red to A7 printers. Do a screen dump as far as I can make out.
Zuber
ShirtPocket Ltd.
www.shirtpocket.co.uk

mikew

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Printing from the Zaurus
« Reply #11 on: August 11, 2004, 08:42:47 am »
Couple of suggestions, if anyone is realy serious about printing from the Zaurus.

OPTION 1

Will Perl programming language run on the Zaurus, if so it maybe possible to recomplie Net::LPR, so you can print to a network printer, maybe over WiFi. To use it you will need Perl 5.6.1 and PerlStart (download from http://www.science-computing.de/o.f...perl/perl5.html).

The program lpr.pl (http://perl.jonallen.info/bin/view/Main/EPOCLPRClient) is a simple Perl script to send a file (default is C:\PrintFile) to a remote print server. It is set up to accept PostScript files, however if you have an alternative driver for your printer (e.g. PCL4) then these can also be used by setting up a 'raw' print queue that does not process the data in any way.

If anyone wants to write a native version of LPR, the protocol is documented in www.faqs.org/rfcs/rfc1179.html.

OPTION 2

Download win32lpr which is a free implementation of LPR with source, for Windows & recompile for the Zaurus, written by Angus Duggan.

Mike
C3200, C760 Cacko 1.23 ROM, 1gb SD, 1gb CF, WiFi, Imate Jasjar & Psion Netbook

Omicron

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://
Printing from the Zaurus
« Reply #12 on: August 13, 2004, 05:36:44 pm »
I can't afford my own printer but the printer who works down the road does a nice job on 30 bond paper silkscreening. But it costs too much for me to print often.

       
« Last Edit: August 14, 2004, 02:48:08 am by Omicron »
"You Shall Not Pass"    
....Gandalf, Lord Of The Rings
--------------------------------------------------------------
C-860 (Cacko), 3x4gb MD  
DLINK 660W, 1GB SD,  
Upgraded Archos AV320 w/80GB HDD
Pocketop and Targus IR keyboards
Favorite Deal Site: SaveCity.net (pretty cool, good deals daily on one page)

rabbashanks

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
Printing from the Zaurus
« Reply #13 on: October 23, 2004, 03:14:34 am »
Doing it the other way round...

My USB printer cable doesn't quite stretch to my laptop so I want to (temporarily) use my Zaurus C760 as a network printer server.  If I plug my printer into the Z's USB port, I want to send jobs to the printer from other machines on the WIFI network.

It's got a CF wireless card which works fine, so I guess this shouldn't be too hard to do.  The lpr formatting should be handled by the printing client (in my case an OS X powerbook).

CUPS and SMB .conf files?  Am I looking in the right direction?

Or am I kidding myself?

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Printing from the Zaurus
« Reply #14 on: October 23, 2004, 04:40:30 am »
Your Z needs to have the USB printer kernel module to talk to the printer.  Assuming that is in place you will need to get lpd or cupsys setup as a print server.  It can all be done, but it will take some work.

Good Luck.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image