Author Topic: Perhaps I'm Going A Little Too Far For A Pda...  (Read 6561 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Perhaps I'm Going A Little Too Far For A Pda...
« on: January 29, 2006, 01:30:25 pm »
Oh my, I only had to builde xfprint and espgs (they aren't in ports) and I have a full local printing system working..

lpr output to my Epson Stylus photo... (including typo of lpw instead of lpq when trying to do things in a rush )


Starting to print from AbiWord


AbiWord documents queued (shown in xfprint-manager)


CUPS spooler history
 [ Invalid Attachment ]

This stuff rocks and is obviously great if you are in a bind and need to print something somewhere... a couple of pointers though if you are going to build these addon bits..

xfprint requires a2ps so be sure to install that from the ports first

espgs (ESP Ghostscript) is required for local despooling... you must make sure that you install the jpeg and libpng sources locally into the build tree before building

I used 'gmake' and 'gmake install' to get them installed on my Z... have found that a lot of this stuff has GNU'isms in the makefiles.

- Andy
« Last Edit: January 29, 2006, 01:38:02 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #1 on: January 29, 2006, 03:11:06 pm »
What I want to know is why can the Z's do this by default??  I'd love to be able to print from my 6000.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #2 on: January 29, 2006, 03:34:38 pm »
I have to say that although I built all this (partly from ports and partly non ports based stuff) it's not exactly ideal to run this sort of thing on a PDA.

This is a full blown CUPS system that renders plain text documents into postscript (using a2ps), spools them, despools them into a rasteriser and converts them into an output printer stream. This is exactly what happends on your desktop *nix box and the memory requirements are quite heavy.

As an example from the start of the lpr command to finish it took about 40 seconds... (for 3 lines of text).

The AbiWord document, interestingly took about the same time but had 1inch high text in it so there was a lot of softfont stuff going on.

I suppose it would be nice to have this in a standard PDA but CUPS may be considered a little too resource intensive for a piece of consumder software in a PDA

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #3 on: January 29, 2006, 10:04:57 pm »
printing from the z would be cool.....  but how often will you actually have a z and a printer and no means other than the z to get the file to the printer?

On the other hand...   I guess i'd do it if it were possible.

is cups the only realistic option?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #4 on: January 29, 2006, 10:12:44 pm »
I use my Z at work to order parts, or for our work order system.  Most of the places I do this at has wireless, and lots of network printers.  Hell, my 3 year old pocket pc can print!
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #5 on: January 30, 2006, 03:10:32 pm »
Quote
printing from the z would be cool.....  but how often will you actually have a z and a printer and no means other than the z to get the file to the printer?

On the other hand...   I guess i'd do it if it were possible.

is cups the only realistic option?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112915\"][{POST_SNAPBACK}][/a][/div]

No you can, by default use BSD lpr/lpd which it in the base OS, however, if you want non postscript drivers then CUPS is the way to go... heh, if I have enough time I may even leave the thing to build Gutenprint driver set so I can print to my Canon CP710 (using CP100 driver in Gutenprint).

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #6 on: August 05, 2006, 05:58:53 am »
This is cool. You could have also just built samba with apsfilter support but I'm sure your method is more disk space friendly.  
« Last Edit: August 05, 2006, 05:59:57 am by mathemajikian »

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #7 on: August 05, 2006, 09:09:31 am »
Quote
What I want to know is why can the Z's do this by default??  I'd love to be able to print from my 6000.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112879\"][{POST_SNAPBACK}][/a][/div]


'ipkg install cups' in OpenZaurus or Ångström will do all that for you, I tested it in my netbook-pro yesterday.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Perhaps I'm Going A Little Too Far For A Pda...
« Reply #8 on: August 05, 2006, 12:59:56 pm »
Quote
Quote
What I want to know is why can the Z's do this by default??  I'd love to be able to print from my 6000.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112879\"][{POST_SNAPBACK}][/a][/div]


'ipkg install cups' in OpenZaurus or Ångström will do all that for you, I tested it in my netbook-pro yesterday.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137515\"][{POST_SNAPBACK}][/a][/div]

OK, I lied, you need 'cups-doc' as well to have the html files for the webgui
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog