A community for PostScript users.
Recently active
Postscript designed by brilliant Engineer who was nameless in software design , compiler design etc But he was giant in knowing what end user , applications and industry need and he has imagination to think about the future for this industry.Since 15 years and postscript language has no added features!! not even new version !!!!2006 Adobe itself created another workflow based on PDF to remove softly but surely this language !Some articles suggested this is the beginning of the end ! and wondered if it will be ever 25th Anniversary of Postscript !!Adobe official goes online 2008 and invite industry maker an developer to move away from that language!!!!But Postscript survived! and now it is 32 years has been passed since the release of Postscript Level One !!And Postscript still as of today the famous and most used language across the globe !!NO single laser printer released unless it has postscript built in or as an option!Even high speed produc
I am having an issue with printing PDF files that contain mixed media sizes to multiple PostScript printers/MFPs: 1) letter portrait and 2) ledger landscape. I have tested with PostScript drives to Ricoh, Kyocera, and Xerox systems with all 3 producing the same result (when printing via PCL driver, everything works correctly). The basic issue is as that while both paper sizes exit the finisher with the 11" side leading, the 11x17 pages are upside down (i.e. rotated 180 degrees) when compared to the letter sized pages. This makes it impossible to staple or hole punch the document in-line since all 11x17 pages must be manually rotated.To take it a step further, I also have Fiery controller based printers where the very same job yields the correct result (tested Ricoh & Xerox). Upon exploring the PPD file, I can see specialized code in the Fiery to rotate pages larger than letter sized, but I cannot figure out how to modify my non-Fiery PPD files to correct the
I need to print cyrillic (russian) characters included into a string, sending it to a postscript printer.So I reenconded using :/reencodeCP1251 { dup dup findfont .... ....} def/CP1251Encoding [ /.notdef ..... /afii10017 / .... ...... ] defBut it seems that the afii codes are ignored by the printer that prints these chars as "blank". - What's missing to print these characters?
psprshpgI have a postscript file (Adobe 3.0, Language-Level 2) that contains what seems to be the short-form of operators. Where can I find a reference to help identify what these commands are. My best guess is that "ps" is pstack, "pr" is print, but it could also be product or prompt, and "shpg" is showpage.Thanks
ERROR: Insufficient memory to publish with the Deflate compression setting. Go to Publish Setting > Flash (.swf) and turn off the compress movie option
Hi All,I need to edit the postscript and change the font names. if i open the ps file in to ultraedit and do some changes and it's not converting the file to PDF and showing some error.I need to edit the ps file and do some font name changes in text mode. Please suggest me what is the best way to do this?RegardsSelva
Please download the attached file to view this post
In Linux, when developing a postscript printer driver, I get the postscript file, it contains some strings like this:5 0 obj<</Filter[/ASCII85Decode/LZWDecode]/Length 726>>streamJ/grZ!H>tg",&r_d#e?fg'SZ`7Df.n`+CqG$q(7C4@1>.Maep],<.+2$60G.Ek,F1;_46Q@PHaA#cJ(HPbQ##d88(!K#-S9!Gj4q3J`[7UN(88%TJ4La+FDCph2Ob<5p0ALsi79)-"UCkeQ8#9cV[&A)V92Z7m1-Mkra>H42YB'b#VmOMGX4X:-RgCR*6\0c1BD(TZXkDE\rrC3TPu#[rCsh*rVo<(@gS*"Rf,3rSoP3?J]POA.FG`[r$eXOPY"9S7l)f'BnO#f).UdZ#h>lXn;b3?!ikH4b'7C!*qoDPGO?fPN_gNA!6&mSbEul!a*A^?/42QHWdB);a!qZp#rXJR+]ip@hK/r'"$9[Ps#p3R0sghmI-eKW2+*a;!nrC#EOh0oD?Sr@Z3.+rEXbN%5/tiIHgn+tL:ZWJJooA@sf4*&.d]alGq07?4uBqo02oCrJgs]JB:OYNU6Ma,uS>WC@I\Z5BW]:g1qpm_EHYa6O^?fnU`hI^Q0"/"lgK!PGf^Xt6Z'^TFT$@dq>&;u455m#'Z?_,+rh)DUa1P8?%@'$13_ZR!KQ_,<Zu*sOO%j;LV[o8*n\Lt(S,ZYqsT_?HX7bg=HEUM:XR&l<<_UJV`r(q/^OW3h:2r"Q&)%kEIA\F(992_r`Q$l7BL[%BI\N.\jo#,.;X":*KkNZ:[-K64:SNU&qs`O(#Ar6^<_f$gaW]Y?]c_CBFOJQDmS~>endstreamendobjI wa
In linux, I want to develop a customed printer driver. when print a document, I have get the postscript file send to postscript printer driver, the file content is shown below:%!PS-Adobe-3.0%%BoundingBox: 0 0 612 792%%HiResBoundingBox: 0 0 612.00 792.00%%Creator: GPL Ghostscript 910 (ps2write)%%LanguageLevel: 2%%CreationDate: D:20151103175615+08'00'%%Pages: 1%%EndComments%%BeginPrologcurrentfile /ASCII85Decode filter /LZWDecode filter cvx execJ.'GP1)YJ2:a-L/6rF=&5]f",9VMV4PfsINPg$$lJV;<[.@O%03.smQ('PQ#V^%=ggiP:i9P6m1&e,,#6QsIUEP1^W4j%>VfmLeP21i['0XteJ5'-rMBI73qYi]MqRS:_)[:!GtMG0%^!tgdCBfAL(FIC*'*+_5Lbn>92]]a#cSAZ&>A@c2Y\jd2S!P$:g'tTf,7oM*o%:D37/I$S.]\mgscphMRIG413(Z=Q;")5F8)`Qr"=NfCOoQ)ibUD`CCLE1_#S2=*J!5rCj3Lri1"+f$rI5+n6R8\*imVK6JF'6bb...In this file, contains some string in /ASCII85Decode filter /LZWDecode filter, what is meaning of this string, what contents does it contained? And how to generate this string.And now, I want to edit this postscript file, and
I get PS files from a client that Distiller (or any third-party utility) can't convert to PDF. Where everything seems to choke is at a line that reads/Fout (XSFT47.img) (w) file d Fout iData writestring /iData 0 string d Fout flushfile Fout closefileThe number in front of .img changes from file to file (ie FXFTxx.img where xx can be almost any number), but the results are always the same. Any idea as to what's happening here or why? Distiller crashes and says that the error starts with Fout. Just for fun I ran one of these files through GhostScript and it ended up writing an XSFTxx.img file do my desktop. Why on earth is this part of the PS and what possible purpose could it serve?Thanks in advance Dan
Greetings!I'm injecting a piece of ps code into an existing print stream with a separator page. The injecting works fine, but I can't to seem to get the injected code right. The code should actually skip (or delete or replace by empty line) one or more lines further down in the ps datastream.I've tried using currentfile and readline/readstring but I can't seem to figure this out. How can I skip a command matching a certain text.something like:*here I setup some forms to overlay on the printjob*%this is the code I created to skip a line/or delete/ignore it{ currentfile 14 string{2 copy readline {(12345X) search {exit}{pop} ifelse}{exit}ifelse} looppop pop} exec%end of my miserably failed tries*here is the line I'm trying to skip/avoid, it maybe right after my code or further down the following ps code*The line I'm trying to skip/avoid is the first line of the printjob itself, the hp driver adds a UEL <esc>%-12345X command which resets the memory and with it my ps code from the sep
Alguien sabe como encriptar un desarrollo en PostScript
I have defined a clipping path and then defined an object (closed path) to be filled protected within a gsave/grestore block. The clipping path should clip the object and leave the remaining object filled within a the unfilled background of the clipping path. But the result is the entire clipping path is filled. How do I stop this?An example is:/inch {72 mul } def/triangle {gsave .9 setgray0 inch 0 inch moveto5 inch 0 inch lineto2.5 inch 5 inch lineto0 inch 0 inch lineto fill 0 setgray0 inch 0 inch moveto5 inch 0 inch lineto2.5 inch 5 inch lineto0 inch 0 inch lineto stroke grestore} def/SquarePath {newpath1 inch 0 inch moveto3 inch 0 inch lineto3 inch 8 inch lineto1 inch 8 inch lineto1 inch 0 inch lineto closepath} def% draw it1 inch 1 inch translateSquarePath cliptriangleshowpage Any ideas? Thanks in advance
I am totally new to Postscript programming and I want to know what eoclip operator does on this particular program.<< /PageSize [792 1224] >> setpagedeviceeoclip newpath12 8 768 1208 rectclip72 72 scale8 8 1 [8 0 0 8 0 0] {<c936>} imageshowpageI already understand the other operator does, except eoclip.The output of this program in ghostscript is a blank page.but when I removed the eoclip operator, the image prints correctly.I am confused on how the even-odd rule applies on this program.
Hello,I have an embedded system with a OpenHCI driver which controls an USB postscript printer.A Cmos sensor stores raw RGB image data in RAM.I would like print this images creating a ps file and sent it to the printer.Colorimage seems the right operator for this issue but it requires data encoded,for example as ASCII hexadecimal, and this mean a lot of computational costs for my little embedded system.Is there a way to include binary data to ps file and feed colorimage without encode them ?Thank you.
Hi,I made a 2-page PostScript document. On the 1st page I have an image made from parts of a picture. On the 2nd page I've got rectangles (the grid) exactly on positions where there are parts of a picture on the 1st page. Left margin on 1st page is the same as right on 2nd page.My example output files are: http://doscniewoli.pl/download/road_1page.pdf and http://doscniewoli.pl/download/road_2pages.pdf.The second file is that I need. The first is the test to show I put a grid on 2nd page on the correct place.However, when I print the road_2pages.pdf file (2 pages on one A4 paper - two sides printing) the grid is little bit shifted (more or less). That is what I'd like to avoid.How may I tell the printer to print the pages correctly?Thank you for any help,JacekMessage was edited by: Jacek K
while creating from this image gets blur i dont know what is the problem can anybody tell me what is the reason behind it.Regards,Sasi kumar S. !Creating, Editing & Exporting PDFs
Hi,Suppose I have a rectangle and want to write a paragraph of text inside it. I'd like to set such a maximum size of a font, to have all the text be inside a rectangle (nothing may go outside of its boundary).So, I first try font size of 20 (for example). If with that size the text is not inside the rectangle I'd like to try with smaller size untill the success.But... how can I only try the font size without writing the text on the page? Is there something like "undo" option?Thanks in advance,Jacek
I will need help with an alternative solutions to the Postcript 3 so we are able to print from a Ricoh copier.
Hi there.I have a Postscript script using Decode to bring in an image<< /PageSize [419.528 595.276] >> setpagedevice % [ W x H ] /DeviceCMYK setcolorspace % Page 1 % % Set the Original to be the top left % 0 595.276 translate 1 -1 scale gsave %% Images when flipped to draw correctly are scaled UPWARDS %% so you need to move the x,y position to the bottom left-1.44 621.714330709 translate % Bottom Left Cordinates% unset the mirror or the image will be flipped!1 -1 scale % scale the image438.000944882 657.119055118 scale %%% Need to work out size and width into Units/Image1File (cmyk_image.jpg) (r) file /DCTDecode filter def/Image1{<< /ImageType 1 /Width 1825 /Height 2738 /ImageMatrix [1825 0 0 -2738 0 2738] /BitsPerComponent 8 /Decode [1 0 1 0 1 0 1 0] % can either be 1 0 or 0 1 /DataSource Image1File>>} bind def/DeviceCMYK setcolorspaceImage1 image% Reset
Hi,In Normal PathGradientBrush Fill a path from center point to border color was change.I dont know how to implement the pathGradientBrush in pdf.Can anybody Tell this.Regards,Sasi s.
I have a downloaded CID font. All the font and glyph information is in the font. How can I write a PostScript program to search the font to find the available glyphs inside the font?Thanks so much in advance for any help.
The Function Based Shading is the Shading Type 1.Can anybody give the example of Function Based Shading....
I would like to know if an element of an array is available and its index so that I can get it. I can do it for a dictionary with the "known" operator. Is there anything that is equivalent for an array?
In normal Page the Gradient is displayed Fine but when i fill in Current Clipping Path is not working Correctly can u help please..MediaBox[0 0 6000 4500] q.00065617 .00 .00 .00065617 .00 .00 cm% OnDrawPrimitiveq-4194304.00 4194304.00 m4194304.00 4194304.00 l4194304.00 -4194304.00 l-4194304.00 -4194304.00 lhW n/8bbccf6d-2ffb-434c-8d69-c70c8c1b7996 gs/DeviceRGB CS/DeviceRGB cs/Pattern cs/ffd7d4c8-619f-4f5e-9388-a9d1c6072881 scn1143000.00 -1371600.00 990600.00 -2895600.00 refQQ10 0 obj /// This is an Pattern /ffd7d4c8-619f-4f5e-9388-a9d1c6072881 scn<</Type /Pattern/PatternType 2/Shading 12 0 R/Matrix [.00065617 .00 .00 .00065617 .00 4500.00]>>endobj12 0 obj /// This is an Shading<</ColorSpace /DeviceRGB/Function 13 0 R/ShadingType 2/Coords [-952500.00 .00 -952500.00 -2895600.00]/Extend [false false]>>endobjThanks,,
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.