alysogorov / Ricoh_Aficio_SP1XX_CUPS_driver

CUPS driver for Ricoh Aficio SP1XX printer(possibly works for SP2XX)
16 stars 3 forks source link

hello I have tried to install Ricoh SP 112 on OS X 10.13.6 but it Dosent work #6

Open Affe1802 opened 4 years ago

Affe1802 commented 4 years ago

Ricoh_Aficio_SP1XX_CUPS_driver-master/check-requirements Ricoh_Aficio_SP1XX_CUPS_driver-master:check-requirements In /bin ricoh-sp1xx-drv py:tmp

i must exit the check-requirements by pressing control c after then is the created folder ricoh_sp1xxx empty.

ricoh-sp1xx-drv py:tmp

what made i wrong that it not work?

alysogorov commented 4 years ago
  1. i developed it for linix, not OS X. I never work with OS X and can't say anything about it.
  2. the driver must be called by CUPS(common unix printing system), and is just a filter for it. You cannot call it from command line without input file and parameters how to test the driver without cups - is explained in section(of README.txt) "HOW TO TEST THE DRIVER WITHOUT CUPS(or manually try to print something)" there you can manually create a file from your text, using enscript programm enscript --media=A4 -o - TEST_FILE.txt |python ricoh-sp1xx-drv.py PageSize=A4 > XXX.OUT and then send its output(here XXX.OUT) manually to printer device Alex.
Affe1802 commented 4 years ago

I have the same problem with Ubuntu 19.04. enscript --media=A4 -o - TEST_FILE.txt |python ricoh-sp1xx-drv.py PageSize=A4 > XXX.OUT No output generated my printer is Ricoh SP 112 DDST

alysogorov commented 4 years ago

I have the same problem with Ubuntu 19.04. enscript --media=A4 -o - TEST_FILE.txt |python ricoh-sp1xx-drv.py PageSize=A4 > XXX.OUT No output generated my printer is Ricoh SP 112 DDST

it's not about printer in this command. using this command we are creating a file, understandable by printer. and we could send it to printer manualy... try in two stages.

  1. you have arbitrary test.txt file, let we create a PostScript file from it - aaa.ps run in terminal: enscript --media=A4 -o - test.txt >aaa.ps you must obtain this file. double click on it if file manager - it will be opened by some viewer and you would see the text. so file is correct
  2. send this file to driver and create final file - bbb.xxx. driver will create a file, which could be send to printer in terminal: echo aaa.ps | python ricoh-sp1xx-drv.py PageSize=A4 > bbb.xxx here I get a error - "GPL Ghostscript 9.26: Unrecoverable error, exit code 1" it's something new for me...and people write in internet, that it could be somehow connected with privileges, needed for Ghostscript. Just now I cannot help you, it's too late. let me try to fix it tomorrow. pls try this "two stage method" and give the result.