IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2013/12/03)2013/12/04 
ekh_ Hi!01:10.48 
  Anyone around?01:11.31 
robin_watts_mac mvrhel: (For the logs) Feeling good about the snorkeling. Oh yes :(04:05.39 
  ekh_: Yes.04:05.52 
  kens, tor7, ray etc: When you arrive, right outside the baggage claim at the terminal are shuttle busses. The "Roberts shuttle" will bring you here for $25.07:55.28 
  Or, you can get a cab for about $85.07:55.37 
kens Robin_Watts : the htoel web site says there is no shuttle....07:55.49 
robin_watts_mac It's not a hotel shuttle.07:55.58 
kens SO I already booked a pickup07:55.59 
robin_watts_mac oh, ok.07:56.05 
kens I also have a suspicion they may not be running when we get in07:56.43 
robin_watts_mac Last shuttle at 11, apparently.07:57.08 
kens We would make that, as long as the flight isn't delayed07:57.26 
robin_watts_mac landing at 22:25 perchance?07:57.37 
kens Technically 21:4407:57.49 
  But I have seen delays on it07:57.59 
robin_watts_mac oh, no, the 22:25 one is united.07:58.08 
  bedtime for me.07:58.31 
kens But, after 24 hours travelling, I wasn't certain of speaking coherently to a cab driver, so decided to book something07:58.44 
robin_watts_mac probably wise.07:58.52 
kens Morning chrisl (or evening your time)08:46.12 
chrisl Very evening - what time is it there?08:47.51 
kens 08:4708:47.57 
chrisl Christ, I've been awake for nearly 28 hours..... :-08:48.24 
kens I should think so yes08:48.32 
chrisl I didn't enjoy it much08:49.01 
kens No great surprise. Probably time for bed I should think08:49.14 
chrisl Yeh, I need a shower first - just trying to wind down a bit08:49.42 
aleray hi, is there a way to add cropmarks to existing pdfs?10:17.48 
kens Not easily10:18.05 
  You oculd add annotations but that's abut it.PDF is not intended as an editable format10:18.23 
aleray hi, is there a way to add cropmarks to a pdf document using gs?10:23.43 
kens Agaion, not easily10:24.02 
saper well you can convert pdf2ps to hack cropmarks in here10:24.22 
kens saper, you would be better to just stay in PDF and use pdfwrite. Either way requires some PostScript coding10:24.59 
aleray kens, oups sorry I didn't see you first remark10:26.28 
saper kens: sure, just a matter of figuring out how to add cropmarking PS scriptlet10:26.47 
aleray does starting from an eps makes things easier?10:27.11 
kens No problem. I'm afraid I have to go, I'll be back in a couple of hours. Saper, you also most likely need to increase the requested media size and translate the content so that there is room for th printers marks10:27.32 
  alreay, if its an EPS use an application which can placeEPS files. Make a page with marks, place the EPS into the page, and then convert to PDF.10:28.18 
  EPS files are intended as a 'black box', you just stick them into a document, and then when you print to PostScript the EPS gets injected into the output PostScript. Treat them as if they were an image format.10:29.23 
  I really do have to go, I'll be back in a couple of hours10:29.39 
saper oh yes, thare are possibly lots of issues there but I'd start with hacking PS10:35.11 
lordawe hello13:58.04 
  can you help me pls? I am using pdfCreator 1.7.2 which uses GS9.10, i have chcecked fast web load chceckbox but adobe reader says it is not optimalized for fas web load13:59.37 
kens I suggest you take it up with the PDF Creator support, I have no idea what the check box you refer to actually does14:00.26 
lordawe I've found somewhere that gs8.14 had a batch which should fix it in already produced pdf file - Ghost\gs8.14\lib\pdfopt.bat14:00.33 
  is there something similar in GS9.10?14:00.51 
  pls14:00.53 
kens pdfopt was removed because, although Acrobat would claim the file was linearised, it actually was not.14:01.24 
  Recent versions of the pdfwrite device are capable of producing properly linearised files.14:01.51 
lordawe 2 kens: thank you. I already asked pdf creator support but nobody answered for two weeks at least14:02.26 
  2 kens: sorry for not being so clear, I am czech and I do not know proper terms in English, I use localised version14:03.40 
kens WHat you are saying seems fine to me14:03.58 
  But I cannot help you with PDF creator, I know nothing about it.14:04.17 
lordawe I have been asking because not long ago Firefox started to show my pdf files crippled and suggesting to open it in other browser.14:05.18 
  Thank you14:05.30 
kens Looking at the change log I see that they have 'upgraded to Ghostscript 9.07', possibly it just won't work properly with 9.0114:05.44 
  s/9.01/9.10/14:05.56 
lordawe TY14:06.04 
  TYVM14:06.12 
  bye!14:06.16 
tor7 kens: I'll see you tomorrow then.16:08.36 
kens tor7 look forward to it16:32.00 
marcosw1 sebras: let me know when it's convenient for me to reboot casper.16:49.34 
ray_laptop kens: Looks like we both gave similar responses to Walt about w.r.t. the digitally signed driver.17:26.50 
kens Oh I didn't see your reply yet ray17:27.41 
ray_laptop kens: I checked to make sure no one responded, then started my reply, and right after I sent mine, I saw yours. Oh, well :-)17:27.45 
kens :-)17:27.52 
ray_laptop kens: it was stuck in a state saying 'attaching' whatever that means. I stopped it, and hit send again and it went right away17:28.50 
kens Odd. He's just replied too.17:29.01 
  AH now I see your mail17:29.11 
  I happen to knwo from the STack Overflow discussion that what he needs to do is sign the .inf file.17:29.53 
  But he's waaay into the 'no support' territory.17:30.17 
chrisl kens: I haven't had a chance to look into that... I guess I probably should....17:30.53 
kens chrisl it looks reasonably straight forward, but I haven't looked at it. That stack overflow thread has some instructions, and the original poster of hte question says he got it working, so....17:31.31 
ray_laptop kens: seems sort of stoopid for windows to accept a signed .inf as a 'digitally signed driver.17:31.32 
kens ray I agree, note that I had the same discussion on Stack Overflow too :-)17:31.54 
chrisl I must admit, I don't really understand how you can "digitally sign" an .inf file.17:32.24 
ray_laptop kens: I'm going to look at that SO thread now. Thanks for posting it17:32.24 
kens chrisl since you are here, can you send me a mail with your transfer experiences please ?17:32.43 
chrisl Writing it now17:32.56 
kens Thanks ;-)17:33.00 
  chrisl looks like you supply a 'cat' file and that is the thing that validates the .inf file17:34.23 
  Or possibly you use the 'cat' file instead of a .inf, that's not obvious to me17:34.45 
chrisl I'll have to look at it when I get home, I don't have the Windows stuff on this laptop.17:36.14 
kens I don't have the WDK installed here17:36.25 
  It looks like its not too hard, but I guess we'll have to experiment17:36.43 
  Not somethign for this time of night (for me)17:36.57 
chrisl I rather feel that being able to do it like this renders the "digitally signed drivers" lark a complete waste of time17:37.06 
ray_laptop looks like a lot of work to go through. Also, AFAIK, we'd have to pay Verisign or some other outfit for step 217:37.07 
kens chrisl yep, seems like a waste of everyone's time. ray I don't know, not looked into it.17:37.37 
  But we may need to do this anyway for MuPDF on WIndows 8 ?17:37.52 
ray_laptop from the SO post that's: Ensure that your computer trusts the certificate (place it in your cert store if required)17:37.54 
kens ray it seems we are OK if its a local certificate17:38.55 
ray_laptop from what I looked at a while ago, there were two prices for security certificates -- the 'driver' one was much more expensive than the 'app' class of cert17:38.58 
chrisl We may have to do something extra like that to create a distributable signed .inf17:39.17 
kens has no idea, it all looks like pants anyway17:39.33 
ray_laptop kens: I have no idea how to make a local certificate available to windows17:39.36 
kens ray there are instructions in the technet article referenced from the SO article17:39.53 
  But I'm guessing that if you make one of those you get the 'cound not be verified' warning17:40.18 
  NB that is only a guess17:40.29 
ray_laptop kens: right. Like I said, it's been a while since I looked at it. It all seemed a big mess.17:40.29 
kens Given that the average user can be relied upont ot click 'yes of course I mean that' to any warning dialog, it all looks pretty pointless17:41.11 
ray_laptop kens: from the SO, it appears that you may have to do more than just click OK with the 'Server' products (unlike with XP or Win 7). I have no idea about Win 817:42.17 
kens Me neither17:42.26 
  To be honest, I'm not that bothered about it being hard for people using server versions of Windows to create a 'PDF printer'17:42.57 
ray_laptop kens: no, but it might be nice going forward for us to be able to provide a signed driver and get the mind share away from all of the parasites (that probably won't bother)17:43.49 
kens ray_laptop : I assume they will just steal our signed thingy too17:44.10 
ray_laptop kens: that's the thing -- they won't be able to if we pack it all up in the .cat -- the 'install' will be in there and we can prominently (shamelessly) promote Artifex Software.17:45.53 
kens Hmm, well we shall see after chrisl sorts it all out :-)17:46.37 
ray_laptop right. Thanks chrisl ;-)17:46.57 
chrisl Great - more time in Windows :-(17:47.23 
ray_laptop chrisl: but for now, just enjoy Maui !17:48.07 
  chrisl: are you already there ?17:48.18 
chrisl ray_laptop: Yes, first morning here17:48.29 
ray_laptop chrisl: well, definitely don't ruin the experience by mucking about with Microsoft crap17:49.08 
chrisl ray_laptop: as I have no Windows dev tools on this laptop, I definitely don't plan to look at it17:49.57 
marcosw1 when is everyone else arriving? I'm landing tomorrow at noon.17:52.15 
kens Tor and I wsill be late Friday night17:52.29 
marcosw1 kens: so you and tor7 will miss the shark fest :-)17:53.05 
ray_laptop marcosw: me, too :-( I don't get in until 5:15pm, so by the time I get to the hotel, the luau will just be the bones of the pig 17:54.45 
sebras marcosw1: now would be a good time.18:11.25 
  marcosw1: I'll log out18:11.34 
robin_watts_mac Morning chrisl.18:43.05 
  I just got called by paul and linda.18:43.17 
chrisl good morning, Robin_Watts 18:43.21 
robin_watts_mac I think we're probably going to be meeting at 9:30ish for breakfast if you're up for that.18:43.36 
chrisl Yeh, that would be fine, I need to make a couple of phone calls - hopefully won't take long....18:44.08 
DrHorrible .help19:15.47 
  Hi, anyone in here?19:15.55 
chrisl Some, yes19:16.06 
DrHorrible chrisl...cjl?19:16.48 
chrisl Yep, that's me19:17.05 
DrHorrible Ah, wow, this is amazing! I'm finally able to talk to the names I keep seeing everywhere19:17.30 
  I'm wondering if you have some time to answer some questions?19:18.08 
chrisl I don't have a lot of time right now - this channel is logged, so ask your questions, hopefully, someone will see them in logs and reply, and you can check the logs for the answers19:18.59 
robin_watts_mac chrisl: Meet at checkin at 9:30 ?19:19.55 
chrisl robin_watts_mac: sure, see you there19:20.14 
robin_watts_mac DrHorrible: Sorry, we're all in strange timezones at the moment.19:20.28 
DrHorrible robin_watts_mac: It's fine, I'm aware this community is a little sparse, I just hope that I'm not intruding, or asking the wrong questions in the wrong place.19:21.14 
chrisl DrHorrible: depends on the questions!19:21.44 
  DrHorrible: btw, the channel logs are kept here: http://ghostscript.com/irclogs/19:22.33 
DrHorrible So, I'm aware CUPS and GhostScript are open source, but sometimes it is a headache to dig through it all, especially since I am still new to the system. I thought it might be faster to ask on IRC.19:22.52 
  Actually, I'll just wget the logs and search through them first. Unless there's a built in search somewhere I'm missing?19:23.08 
chrisl DrHorrible: if you open a specific log, there is a search box in there19:24.23 
  DrHorrible: for example, the currently "active" log is here (search box at the top): http://ghostscript.com/irclogs/current.html19:25.03 
  DrHorrible: we know very little about CUPS: if it's a CUPS related question, you generally need to talk to the CUPS people, and have them help you work out how Ghostscript is being called, then come to us with that information19:26.20 
DrHorrible Got it. I'm assuming ##cups on freenode is the relevant channel?19:26.56 
chrisl No idea, sorry. You might be able to discuss the CUPS end with tkamppeter on here19:27.21 
  DrHorrible: I have to go - ask your question(s) and someone at some point will post whether we can help, or whether you need to get more info from elsewhere.19:29.40 
DrHorrible Hah, looks like someone else has been here already; user 'ppd'. Probably my predecessor. I'm an engineer at Kyocera that's just started working on printing on Linux distributions, and I noticed GhostScript data not playing well with our printers, while poppler data does.19:34.44 
  So currently my question is, what's the history behind the Kyocera-specific fixes? I'm trying to implement a Watermark feature, but I've stumbled across a myriad of issues along the way. Some related to GhostScript, others perhaps related to CUPS. I think I might need to just sit down and chat for a while with someone.19:38.04 
kens DrHorrible, I'm off as well, but....19:46.07 
  THe fixes with our PostScript *output* relate to the Kyocera PostScript interpreter having some specific bugs, probably with compression. I'd have to go back through our logs looking to see what exactly was done for each problem19:47.09 
  And now, time to go19:47.24 
  DrHorrible if you cna come back tomorrow, I may have more time19:47.41 
chrisl DrHorrible: I'm travelling just now, but will be home next week, I can get you specifics of the Kyocera related bugs, and probably test files illustrating the problem(s), too, when I'm home20:38.44 
tkamppeter DrHorrible, hi21:46.13 
  DrHorrible, you are working at Kyocera? Would you update the Kyocera PPDs and printer entries on OpenPrinting?21:46.54 
  DrHorrible, you are aware of the quirks of the PS interpreter in Kyocera printers and the workarounds which I have applied in cups-filters?21:48.26 
DrHorrible tkamppeter: Sorry, just got back from lunch. The Kyocera PPDs on OpenPrinting...well, we're going through a lot of changes right now. Essentially I've just started working on Linux, and I'm actually fairly new to the printing world as well.21:52.16 
  tkamppeter: Once I get my bearings I'll definitely look into it21:52.27 
  tkamppeter: I've noticed one change, which is the binding error that's explicitly stated in the comments, but beyond that, I haven't looked into it.21:53.18 
ehuang_Kyocera There we go.21:54.02 
  tkamppeter: I've noticed odd behavior regarding some of our commands actually, including different print behavior when certain Main Keywords are present (not necessarily chosen), and some keywords being completely ignored as well21:56.38 
  tkamppeter: Not sure if those are the result of your workarounds, but I'm assuming those might be what you are referring to?21:57.46 
tkamppeter ehuang_Kyocera, what do you mean with "certain Main Keywords"? Some problem in the PPD file?22:31.50 
ehuang_Kyocera tkamppeter: Yup. I actually don't know if it's even related to CUPS. For example, we use a 'Colorreprod' keyword in the PPD file. When I go to print, whatever I've selected is essentially erased and set to default. Changing that keyword to Colorreprod1 fixes this issue.22:32.55 
  tkamppeter: It's very bizarre to witness22:33.02 
tkamppeter ehuang_Kyocera, could you send me this PPD?22:34.38 
ehuang_Kyocera tkamppeter: Sure. How?22:34.55 
  pastebin?22:34.59 
tkamppeter ehuang_Kyocera, for investigating printing problems (and also reporting bugs) see https://wiki.ubuntu.com/DebuggingPrintingProblems.22:35.24 
  ehuang_Kyocera, yes, pastebin is OK.22:35.40 
ehuang_Kyocera tkamppeter: http://pastebin.com/rRZNK7Dq, set to expire after one week.22:37.33 
tkamppeter ehuang_Kyocera, thanks.22:39.31 
  ehuang_Kyocera, on https://wiki.ubuntu.com/DebuggingPrintingProblems especially important are the section about CUPS error_log and also the section about PDF or PostScript printers not printing correctly.22:40.49 
  ehuang_Kyocera, do you know whether Kyocera will make an IPP Everywhere printer and when it will hit the market?22:41.30 
  ehuang_Kyocera, I have downloaded the PPD, it needs a /usr/lib/cups/filter/kyofilter_B, is it a non-PostScript printer? what is this filter good for?22:45.16 
ehuang_Kyocera tkamppeter: It parses some of our empty keywords into KPDL commands, which our printers understand22:46.26 
tkamppeter ehuang_Kyocera, why do you make empty keywords then and do not insert the commands directly into the keywords?22:49.28 
ehuang_Kyocera tkamppeter: I believe (and note that I am still very new to this process) that the filter edits the print stream directly, instead of inserting them in the BeginSetup section22:52.56 
tkamppeter ehuang_Kyocera, is the source code of the filter available?22:53.36 
ehuang_Kyocera tkamppeter: I don't think it's public information, unfortunately22:54.16 
  tkamppeter: Also, I think you would be dismayed at the state of the code. I'm essentially rewriting/"refactoring" it currently, because the previous maintainer left no documentation, and seemed to follow no standards.22:55.28 
tkamppeter ehuang_Kyocera, Ricoh is using the foomatic-rip filter (now part of cups-filters) to do more complex manipulations of inserted PostScript code, perhaps you could have a look into these PPDs and perhaps this could also serve for Kyocera?22:57.50 
ehuang_Kyocera tkamppeter: Sure! I'll certainly give it a look.22:58.33 
tkamppeter ehuang_Kyocera, you find all these PPDs onhttp://www.openprinting.org or in the foomatic-db source package.22:59.38 
ehuang_Kyocera tkamppeter: Wow. This seems very powerful.23:07.09 
  tkamppeter: How long has foomatic-rip been part of cups-filters?23:07.39 
tkamppeter ehuang_Kyocera, foomatic-rip is around 10 years old and was a universal print filter, from the times as there were other printing systems than CUPS (LPD, LPRng, PDQ, ...) still maintained. CUPS turned to be the standard (with a lot of my evangelism and support) and in the last Google Summer of Code a student removed all (now obsolete) non-CUPS stuff and I moved the result into cups-filters, to make it easier for Linux distributions to23:10.41 
  set up a printing stack.23:10.42 
  cups-filters exists for two years catching all Linux-only parts of CUPS which Apple has dropped and also implementing the PDF-based printing workflow, one of my (now completely implemented) OpenPrinting projects started out on an OpenPrinting Summit.23:12.29 
  ehuang_Kyocera, you know that I am leading OpenPrinting since 2001?23:13.35 
ehuang_Kyocera tkamppeter: I knew you maintained the Linux CUPs code, but not OpenPrinting23:14.45 
tkamppeter ehuang_Kyocera, swwhttp://www.openprinting.org, I am also organizing the annual OpenPrinting Summit, mark your calendar for the next one, 13-16 May 2014, together with the PWG meeting at Aopple in Cupertino, CA.23:16.44 
ehuang_Kyocera tkamppeter: Yeah, I've been told I should go to that by my coworkers23:17.35 
  tkamppeter: Hopefully I can learn more about all this before I arrive so I'm not completely lost.23:17.55 
tkamppeter ehuang_Kyocera, you have plenty of time until May.23:19.01 
  ehuang_Kyocera, in short, I am doing everything to make printing on Linux (and similar) operating systems "just work".23:19.50 
ehuang_Kyocera tkamppeter: That is an idea I am 100% behind. And since I am now at Kyocera, and Kyocera is now moving towards Linux support, it'd be great to make sure all our products "just work" as well.23:20.53 
tkamppeter I have also developed a system for auto-downloading printer driver packages, LSB-based, working with all distributions, it downloads packages of all PostScript PPDs on OpenPrinting and Epson is the only manufacturer distributing their binary drivers through this system.23:23.38 
ehuang_Kyocera tkamppeter: My higher ups have already given me the go-ahead on updating OpenPrinting with the latest Kyocera packages, actually, so once I push out this most recent release I can get on that.23:24.25 
tkamppeter ehuang_Kyocera, Kyocera could use it if they have printers with odd protocols which need binary drivers. For PostScript PPDs it is already in use.23:24.45 
  ehuang_Kyocera, for PostScript (KPDL) and PCL printers binary-only drivers should be eliminated.23:26.02 
  ehuang_Kyocera, best would be going PPD-less/driver-less with IPP Everywhere. Do you know about Kyocera's development on IPP Everywhere?23:27.27 
ehuang_Kyocera tkamppeter: So I should work towards not requiring kyofilter_B?23:27.33 
tkamppeter ehuang_Kyocera, yes.23:27.43 
ehuang_Kyocera tkamppeter: Just asked. No plans for it in the future. Apparently we recently got AirPrint working (Mac), so our focus is currently there.23:28.00 
tkamppeter ehuang_Kyocera, AirPrint is a manufacturer-specific solution, iOS is the only client platdform. With PWG's IPP Everywhere configuration-less printing will be possible from devices of any OS.23:29.27 
ehuang_Kyocera tkamppeter: As a tangent, I've noticed in the CUPS Web UI (localhost:631), when I go to Add A New Printer, a list of Discovered Network Printers is showing, which seems to list manufacturers and model names from PPDs, but I can't seem to find these ppds anywhere on the system. Are these pulled from OpenPrinting?23:30.12 
tkamppeter ehuang_Kyocera, the files are compressed, using a Google Summer of Code Project which I have mentored some years ago (I am organizing Google Summer of Code for OpenPrinting every year).23:31.36 
  ehuang_Kyocera, the files are actually in the PPD generators in /usr/lib/cups/driver/, highly compressed, saving 100s of megs on the ISOs of Linux distributions.23:32.59 
ehuang_Kyocera tkamppeter: Ah. So they are pulled from the PPDs? I ask because the fix in cups-filters for Kyocera looks for 'Kyocera' as manufacturer, although we are also responsible for UTAX_TA printers.23:33.46 
tkamppeter The PPDs are pulled from /usr/lib/cups/driver/openprinting-ppds when CUPS is polling the list of available PPDs/printer models. The quirk handling in the pdftops filter is looking into the PPD to see from what manufacturer the printer is to apply the appropriate quirk rules.23:36.23 
  ehuang_Kyocera, the PPD of each print queue you find in /etc/cups/ppd/. CUPS sets the PPD environment variable to the queue's PPD when calling the filter chain to execute a print job.23:37.38 
ehuang_Kyocera tkamppeter: Ah, our current installation process creates a folder in /usr/share/cups/models/23:38.40 
  tkamppeter: That list doesn't populate the Discovered Printers list with any of those PPDs?23:38.55 
tkamppeter ehuang_Kyocera, putting PPDs into /usr/share/cups/model/ (not "models") also populates the list.23:39.43 
  ehuang_Kyocera, but note that /usr/share/cups/model/ is deprecated, currently /usr/share/ppd/ is used.23:40.29 
ehuang_Kyocera tkamppeter: And just to make sure, that list IS displaying data from the 'Manufacturers' keyword?23:40.47 
tkamppeter ehuang_Kyocera, yes, AFAIK, the manufacturer names in the web interface come from the Manufacturer fields of the PPDs.23:41.52 
ehuang_Kyocera tkamppeter: Bummer. I suppose it can't be helped then.23:47.01 
  privmsg tkamppeter testing23:49.13 
tkamppeter ehuang_Kyocera, what can't be helped?23:52.04 
  ehuang_Kyocera, for a private message you have to start with a slash, "/privmsg tkamppeter testing".23:54.22 
 Forward 1 day (to 2013/12/05)>>> 
ghostscript.com
Search: