[cups-devel] Image Control on OKIDATA 490

Jesse Garrison jesse at takethefort.com
Mon Nov 30 08:08:34 PST 2015


Fantastic. I’ll give that a shot! Is that something I could do in a filter, or is that something I’m going to have to do on the driver side?




Thank you!




: j


~~~Jesse Garrison

c: 347.267.7638

On Fri, Nov 27, 2015 at 7:06 AM, Helge Blischke <helgeblischke at web.de>
wrote:

> Perhaps there is a much easier way by emitting
> ESC N 0
> in hex: 1B 4E 00
> which cancels the "skip over perforation“, so that no extra vertical space is
> performed when reaching the bottom of form. It may be necessary to
> set the top and bottom margins to zero as well (as I don’t have such a printer,
> I’ve no chance to test this).
> Helge
>  
>> Am 18.11.2015 um 00:35 schrieb Jesse Garrison <jesse at takethefort.com>:
>> 
>> Hey- thanks for the quick response! I just want to make sure that I’m clear on what you’re suggesting. Sorry- very new to this low-level printer operation. I’ve looked into GhostScript and I’m trying to figure out where it sits in the pipeline. In this instance, would it get called by CUPS or would I run it and have it send to the printer as an output device? If so, am I modifying the GS outputdevice definition or writing a completely new printer driver? Is there a way to modify the cups filter to make this possible? Sorry, but I think I’m going to need a little more guidance- thank you for your help, I really appreciate it!
>> 
>> 
>> 
>> 
>> : j
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ~~~Jesse Garrison
>> 
>> c: 347.267.7638
>> 
>> 
>> 
>> 
>> I’d use the printer’s IBM ProPrinter emulation (as this PDL is fairly documented) and write a continuous stream driver
>> for image data on the bases of Ghostscript’s makeimagedevice, generating the proprietor stream by PostScript programming
>> and using page control commands only at the beginning and end of the print job.
>> 
>> Helge
>> 
>>> Am 17.11.2015 um 01:45 schrieb Jesse Garrison <jesse at takethefort.com>:
>>> 
>>> Hello, all! I’m posting this here because I the user list wasn’t able to help. Hoping you guys can, because I don’t know who else to ask!
>>> 
>>> 
>>> I’m working on a project in which I’m trying to print text and images in a continuous stream on an OKIDATA Microline 490 dot-matrix printer. I’m running a node app (with node-printer) on the computer side to take care of the logic. I’ve got the basics working, but I’m having trouble controlling the size and placement of images.
>>> 
>>> 
>>> Right now, whenever I print an image, it formats the image to fill a significant amount of the page, even rotating landscape images for a better fit. I want the image to appear without form-feeding, scaling or with any trailing blank space.
>>> 
>>> 
>>> I solved a similar issue with text by modifying a print filter to avoid form feeding at the end of a print job. I was hoping to do something similar with images, but it seems more complicated. I modified an image filter to remove the lines regarding blank space, but I’m having trouble compiling (can’t find ijs package?), and I don’t even know if that’s the right solution. I also have tried to send different options to lp, such as position=top and natural-scaling=25, but it seems to have no effect. I am running a Mac on El Cap, if it makes any difference.
>>> 
>>> 
>>> Thank you in advance for any advice you can provide- I really appreciate it!
>>> 
>>> 
>>> : jesse
>>> 
>>> 
>>> ~~~Jesse Garrison
>>> c: 347.267.7638
>>> _______________________________________________
>>> cups-devel mailing list
>>> cups-devel at cups.org
>>> https://www.cups.org/mailman/listinfo/cups-devel
>> 
>> _______________________________________________
>> cups-devel mailing list
>> cups-devel at cups.org
>> https://www.cups.org/mailman/listinfo/cups-devel
>> _______________________________________________
>> cups-devel mailing list
>> cups-devel at cups.org
>> https://www.cups.org/mailman/listinfo/cups-devel
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://www.cups.org/mailman/listinfo/cups-devel


More information about the cups-devel mailing list