Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2020/11/18)Fwd 1 day (to 2020/11/20) >>>20201119 
alexcher mask_suitable_for_interpolation() checks that device has copy_alpha() but does not check whether the target device has it. Is this correct?05:25.59 
artifexirc-bot <Robin_Watts> Hi alexcher. Long time.14:46.38 
stephe22 hello, i don't know PCL, but i am trying to send an control sequence to my HP Laser printer, by sending a file that contains [Esc]&l1O hello world, and i send i with the command lp. my printer just print everything. I have set the driver Generic PCL 5 Printer. And i find it very hard to find information about PCL. What do i have to do to send14:58.10 
  command to my printer please ?14:58.10 
  I am on Centos 714:58.25 
  oh and the command is supposed to print in landscape btw14:59.01 
artifexirc-bot <KenSharp> stephe22 you need to tell your printer that the following data is PCL, not text15:00.08 
  <KenSharp> But offhand I can't recall what it is15:00.40 
stephe22 ok, how ? another control command ?15:00.43 
artifexirc-bot <KenSharp> @PJL.....15:00.51 
  <KenSharp> I'm trying to find it....15:00.59 
  <KenSharp> PCL is **not** my specialist subject15:01.06 
stephe22 thank you !15:01.12 
  well you surely know more than me, for sure XD15:01.26 
artifexirc-bot <KenSharp> OK you want ESC%-12345X@PJL ENTER LANGUAGE=PCL15:02.23 
  <KenSharp> Where ESC is character 0x1B and you want a carriage return or linefeed at the end of the line15:02.45 
stephe22 okay let me try that15:03.58 
artifexirc-bot <KenSharp> The file should end with ESC%-12345X as well15:04.05 
stephe22 and should i end it with line feed also ?15:07.09 
  so my file looks like this:15:07.18 
artifexirc-bot <KenSharp> My file here doesn't have one so I thin nmot15:07.24 
  <KenSharp> My file here doesn't have one so I thin not15:07.30 
stephe22 ESC%-12345X@PJL ENTER LANGUAGE=PCL15:07.32 
  ESC&l1Ohello world15:08.02 
  ESC%-12345X15:08.09 
artifexirc-bot <KenSharp> Well that's what my PCL file here has15:08.51 
  <KenSharp> Plus a lot more, obviously but that's what it has to enter and leave the language15:09.07 
stephe22 it works !15:09.20 
artifexirc-bot <KenSharp> Ah always nice 🙂15:09.27 
stephe22 Thank you ! i just spent all day trying to make this work !!15:09.39 
artifexirc-bot <KenSharp> No problem, hope it helps you along15:09.49 
stephe22 well know i can really start playing with the PCL commands so yes :) thank you very much !15:10.16 
artifexirc-bot <KenSharp> Great, have a good day!15:10.31 
stephe22 thanks you too !15:12.18 
alexcher mask_suitable_for_interpolation() and clist_copy_alpha() check for different conditions and cause the bug 703161. How we can reconcile the checks? What is a safe way to cast gx_device* to gx_device_forward* or other derived classes?18:23.17 
artifexirc-bot <Robin_Watts> Hi alexcher, I'm trying to understand that now.18:30.26 
alexcher OK18:30.39 
artifexirc-bot <Robin_Watts> If we want to check something about a device, the neatest way to do that now is to define a special_op, and use that. With that you can often avoid needing to get from device to device_forward etc.18:31.25 
  <Robin_Watts> So, we might want a gx_dso_copy_alpha_disabled operation?18:33.53 
  <Robin_Watts> And the clist devices would implement that.18:34.05 
  <Robin_Watts> and mask_suitable_for_interpolation would check that.18:34.21 
  <Robin_Watts> does that sound reasonable?18:34.28 
alexcher Yes. Who will implement it?18:36.53 
artifexirc-bot <Robin_Watts> Either you can, or I will.19:59.17 
  <Robin_Watts> I will look tomorrow unless you tell me otherwise.20:07.30 
alexcher I'll try to post a patch tonight. If not, it's yours.20:13.16 
artifexirc-bot <Robin_Watts> Fab.22:03.14 
 <<<Back 1 day (to 2020/11/18)Forward 1 day (to 2020/11/20)>>> 
ghostscript.com #mupdf
Search: