Framework for printing graphics
Hello!
Can anyone suggest me a framework for print with java? For example I need print Frame Graphics or print simple text.
Thanks!
Tommaso Taruffi
Daniel:
Try checking the "Advanced" area of your Print Settings. You may have the "Omit for OPI" elements checked. Having them checked will omit ALL of those images in your document, not just the images you want to not print.
If you want some images only to not print, either choose "nonprinting" in the Attributes palette, or move the images to a new layer and "hide" that layer and tell inDesign to only print "visible" layers
Similar Messages
-
How to set up postscript Printer for printing graphics
We have a requirement to print Structured graphics. I found out that we need to set up a postscript printer for it. After debugging I found out that the Device Type name should be either GRAPHICS or POSTGR or ZGRAP.
How can we set up such a printer?
Thanks in adv.Hi,
The Device Type names that you have provided are not listed in the SAP Central Note for Printers/device Types
https://service.sap.com/sap/support/notes/8928
However, you can again re-check this note with your printer model and check what suitable device types should be used. As you will find inthis note:
"Device type definitions are stored completely in tables and can be individually adapted, modified or enhanced. If SAP performs such an adjustment for a customer, it constitutes a consulting service, and is generally charged seperately"
SAP has now released the SAP Printer Vendor Program - https://service.sap.com/sap/support/notes/1130927, printer manufacturers can develop and release device types for their printers.
https://service.sap.com/sap/support/notes/1100779 contains a list of all participants
Information about the support for new printer models is contained in the "Printer Vendor Wizard Note" of the relevant manufacturer. A complete list of all "Printer Vendor Wizard Notes" is available in Note 1097990. If your printer model is not listed in one of these "Printer Vendor Wizard Notes", proceed as described in Note 1103826.
- Regards, Dibya -
Java progarmming for printing graphics by Plotter
Hi All Visitor,
I want to write a program to take a print out of graphics by the plotter device. Any body who has experience to write a program for plotter are requested to share his experience.
thanking You.Hi,
Would you mind reposting your question over on the Flex forums? You'll most likely have better luck over there.
Thanks,
Chris -
Can FW CS3 be used for graphic for printing?
I am very familiar with FW but I do not like Photoshop,
however I have both I preffer to use FW. As I have seen on one
presentation new FW CS3 has CMYK pallete so my question is: can FW
CS3 be used for preparation of graphic for printing or what are the
obstacles? After preparing images in FW I will use InDesign for
text or maybe the text in FW is wector and maybe I could use FW
including text and not to use INDEsign far small projects? Does
anyone has any experience with this subject?
Regards
Martinqnnick wrote:
> I am very familiar with FW but I do not like Photoshop,
however I have both I
> preffer to use FW. As I have seen on one presentation
new FW CS3 has CMYK
> pallete so my question is: can FW CS3 be used for
preparation of graphic for
> printing or what are the obstacles?
Fireworks does not operate or export in CMYK color space. It
was
developed for screen images only, and operates and exports in
RGB color
space. It is not recommended that you use it in preparation
of images
for print. You mentioned that you don't like photoshop. You
might like
Illustrator better.
Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
http://www.adobe.com/communities/experts/ -
How do I split a large wall graphic on Illustrator into sections for printing?
I work in marketing and occasionally have to put together graphics on Illustrator.
I am currently putting together a large wall graphic for an exhibition and want to find out how to split it into sections for printing. It has a total length of 5757mm but will need to be split into 6 panels (4x 980mm, 1x 841mm & 1x 996mm)
It would be best for me to design this as one large graphic and then split it, however I'm not sure of the best way to do this.
Any help would be greatly appreciated!Louise,
There is just room enough for the whole artwork in 1:1 within the Workspace.
You may create it as one entity, then create Artboards for each panel, but the exact way depends on a few things such as whether you are working with overlaps and whether the printer prints to the edge or has a non printing area.
You may need two sets of the artwork with every second artboard on each so that you end up with overlapping artboards for printing/assembly. -
Creating new graphics object from a existing one and sending it for print
Hello,
i have a graphics object which is big in size, I am creating a new graphics object from the existing one as given below
//map is a graphic object
Graphic g1 = (Graphic)map.create(x,y,width,height);
Graphic g2 = (Graphic)map.create(x,y,width1,height1);
Graphic g3 = (Graphic)map.create(x,y,width2,height2);
arrayList.add(g1);
arrayList.add(g2);
arrayList.add(g3);
Now I want to send the graphic object g1,g2,g3 for print in the method
public int print (Graphics g, PageFormat pf, int idx) throws PrinterException {
// Printable's method implementation
if (curPageFormat != pf) {
curPageFormat = pf;
pages = repaginate (pf);
if (idx >= 3)) {
return Printable.NO_SUCH_PAGE;
g = (Graphics) arrayList.get(idx);
return Printable.PAGE_EXISTS;
This is not working... what is wrong. can anybody suggest..
I tried standardprint.java to print a object inside a scrollpane, it is not printing the entire diagram. so I am thinking of something like this.... Please let me know what to do....
Thanks
SerjThe easy way to do this is create a copy using Windows Explorer.
Open the project and go to File > Rename.
Then you have your 2013 ready made project.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
?I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?
pkg4ibm wrote:
editing a url on the graphic...
Not sure what you mean by that: is that URL in an image, or is it actual text?
If it is in an image, then you need to extract the image, edit it with something like Photoshop, then add it back to the PDF.
If the URL is actual text, I suggest that you remove the entire URL, then add the corrected link. -
Need a Graphic Object for printing
Hi,
I generate a report with data from a database.
At the moment I have an object that implements printable.
Everytime the print method is called the report has
to be created new.
Now I want a seperate Graphics2D object in which teh report
is created for once. And when a print
job is started I want to copy it to the Graphics object
in the printmethod.
How can I create a Graphics2D Object for my own ?
Thanx Stephantry:
BufferedImage bufferedImage = new BufferedImage(500, 200, BufferedImage.TYPE_INT_RGB);
Graphics2D g = (Graphics2D) bufferedImage.getGraphics();
g.drawString("Go to town!", 10, 10);This is how I did it when I needed to create images in a servlet. I expect it would also work for printing purposes... I guess I'll find out soon enough. :) -
Framework for recognition images as finger-prints.
I need a framework for recognition images as finger-prints or general images
Any help?http://www.cl.cam.ac.uk/users/jgd1000/ may have some useful stuff for you - although Daugman focusses on iris recognition, there's probably a lot of discussion of wavelets and transform invariances which is to a large extent independent of the particular area of application.
-
Scale Graphics g in jpanel for print
hi, im having a simple problem.
i am trying to make a program print something.
i have looked at many printing scale functions
but they have not worked for me.
i am passing Graphics g to a class that is drawing on it.
i do not want to change this class to draw with graphics2d.
why isnt this scaling?
any suggestions big or small appreciated!
i dont know if it is worth mentioning that this method is inside a
class that extends JPanel.
public int print(Graphics g, PageFormat format, int pageIndex) {
DrawSomething.doDrawing(g); // a class that draws onto g
Graphics2D g2D = (Graphics2D) g;
g2D.translate(format.getImageableX (), format.getImageableY ());
// scale to fill the page
double dw = format.getImageableWidth();
double dh = format.getImageableHeight();
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
double xScale = dw / (length of drawing, here 250);
double yScale = dh / (height of drawing, here 250);
double scale = Math.min(xScale,yScale);
g2D.scale(scale, scale);
return Printable.PAGE_EXISTS;
}>
return Printable.PAGE_EXISTS;
}BTW, this is not a good idea. Your print job will probably continue indefinitely this way. do return page==0 -
I've got a MacBook Pro 15' running 10.6.6. I want to use an external monitor for my graphic design work using Adobe software and thought I'd try an HD TV. I ran a Mini Display to HDMI lead to the TV but the picture quality was disappointing. I also tried a Mini Display to VGA lead and that wasn't much better. I tried all variations of resolutions in System prefs - Displays but nothing helped. Am I getting something wrong? Thanks all.
In addition to pixel density, you are up against the translation driver card in the TV.
If you read the fine print of computer-resolution-capability in the TV user guide, you will see a chart as tall as the manual page. At the top is the smallest resolution capable, at the bottom is the full use of the 1080p in the TV.
Mac falls into the top 25% of the page, maxing out at 1366x768 often. This is because the TV control card is expected to do too much of the work, but is not designed for computer-monitor processing.
I looked at the resolution charts on 2 TVs before deciding to buy a 1080p LCD monitor that has a TV interface/connector. Computer monitor first, TV second. But the thing is only 27 in. Good thing TV is not as important to me as it is to others. -
I cannot get my HP officejet 4215 all-in-one to print graphics
how do i get my HP officejet 4215 all-in-one to print graphics. as an example if i print my visa statement the visa logo and bank logos don,t print
bamajim,
Here is a link to a page for your printer that may help with your issue.
The document provides steps to troubleshoot printouts that do not match the screen while printing from the web.
Does this also happen when printing graphics from somewhere other than the web ?
Once you give these steps a try let us know what happens.
If I helped you at all it would be great if you clicked the blue kudos star!
If I solved your post please mark it as solved to help others.
I'm a printer tech with HP. -
How to retrieve the data from a jsp page for print?
i have a dynamic jsp file which will get the data at runtime.I have a print button in the jsp.When i chick the print button it should capture the data from the jsp and print it as LANDSCAPE mode. Now i am using Java Api for this
Following code is a working sample which prints some data in LANDSCAPE mode..This is working fine....How can i modify this to get the data from a jsp?....I am using weblogic workshop for development
package Awtjava;
//working example
import java.awt.*;
import java.awt.print.*;
public class testPrint implements Printable {
private static String s[];
private static Font f;
private static int nLines;
public static void main (String arg[]){
s = new String[10];
f = new Font("Arial", Font.PLAIN, 11);
int i;
s[0] = "This is a printer test";
for (i=1; i<10; i++){
s[i] = "The next line";
nLines = 10;
testPrint.printa();
public static void printa(){
System.out.println("public static void printa () ");
PrinterJob pj=PrinterJob.getPrinterJob();
Book b = new Book();;
PageFormat pf = new PageFormat();
pf = pj.defaultPage(pf);
b.append(new testPrint(), pf, 2);
pj.setPageable (b);
try{
if (pj.printDialog()){
pj.print();
catch (Exception e) { System.out.println ("Error"); }
public int print (Graphics g1, PageFormat pf, int n){
System.out.println("public int print");
int x,y,i,fa,fh;
FontMetrics fm;
Graphics2D g = (Graphics2D) g1;
pf.setOrientation(PageFormat.LANDSCAPE);
fm = g.getFontMetrics (f);
fa = fm.getMaxAscent();
fh = fm.getHeight();
x = (int)pf.getImageableX();
y = (int)pf.getImageableY() + fa;
g.setFont (f);
g.setColor(Color.black);
if (n==1){
for (i=0; i<10; i++){
g.drawString (s, x, y);
y += fh;
return PAGE_EXISTS;
else {
for (i=10;i<10; i++){
g.drawString (s[i], x, y);
y += fh;
return PAGE_EXISTS;
Hope you will reply soon...
Thanks in advance
MariaHey, I got a doubt that who will call the print method in the same program and what about the g.drawString() it is showing any output effect. Finally how the variable n will get initializing to 0 and 1 for two times respectively. Can u please elaborate on this...
-
Need Help Please - PSD InDesign (for print)?
Hello Everyone,
I'm a graphic designer for a company that has decided to run some print ads in a magazine. At the time, I only had Photoshop to create their advertisement with. Now they have purchased CS4, which will make my life easier in the future, however, for now I have the problem of creating my advertisement made with Photoshop and creating a print ready PDF.
Here is my problem:
- I created a PSD at 8.5" x 11" at 300ppi
- I did not take in to account for the 0.125" bleeds and 1/8" trim
- It needs to be SWOP compliant (I figured out I can export a PDF that adheres to SWOP)
- Fonts should be Type 1 Postscript, no TTF (I'm using Helvetica and Arial, when I export the PDF, it says the embedded fonts are TTF)
- I'm totally lost with regards for designing work for print!
Here the specs they gave me, AFTER I created the design in Photoshop
====
Full page, full bleed 8.0" 10-3/4" (**I created my PSD as a 8.5" x 11" - without regard to bleeds**)
Include 1/8 bleed over all to ensure full page bleed
and keep live copy 1/4 from trim and crop marks.
CMYK, 4-color process printing only.
Do not add bleed to partial page ads.
All requirements are based on Specifications for Web Offset
Publications (SWOP). Any deviation from these specifications may
result in less-desirable printed results.
We support PDF files generated by Adobe Acrobat using
the X-1A Job Option Settings for Distiller. In order for
prepress to generate printable PDF s, it is important that
the native file is prepared accordingly.
Preparing native files for printable PDF s:
All images/scans must be in CMYK mode,
300 dpi resolution
Use Postscript (Type 1) fonts only. No True
Type, Windows/PC or custom fonts accepted
Embed all fonts
Do not nest EPS files in other EPS files
Four-color solids should not exceed SWOP
density of 280%
Provide two digital color proofs at 100% size, created
from the supplied digital file, on a contract-quality,
digital halftone proofing system in accordance with
SWOP web coated standards (AGFAPressmatch,
Kodak Approval, DuPont Waterproof, etc.). Laser or
inkjet proofs are not considered accurate in color and
are supplied for content confirmation only.
If supplied, the publisher is not responsible for color variances
between the digital file and final color reproduction.
NOTE: If proofs are not supplied, make-goods due to
reproduction quality will not be honored.
====
I've never done print work before, as I'm mainly a graphic designer for the web.
Any help on this matter would be greatly appreciated! Unfortunately for me, they bought the advertisement space with the magazine for the running of the next issue before speaking with me. So I'm under extreme pressure to get this underway. I'll be most grateful for any help or guidance, Thanks guys!
- DYou can Place a PSD in Indesign, but unless the bleed is a single color,
it's going to be easier to add bleed in Photoshop. Bleed is whatever
gets cut off when they trim the paper. Trim is close, but not exact, so
whatever picture or color goes to the edge of the paper must extend
beyond the edge to avoid trim including some white when the trim is not
quite perfect. If it's a picture that goes to the edge, you need to
figure out a way to extend the picture beyond the edge. If it's white
that goes to the edge, then you don't need bleed. If it's a non-tone
color field (a single color) then you could Place the PSD in Indesign
and add bleed color behind it and extending beyond the edge of the page.
The magazine should not concern themselves with TT or T1 fonts, either
one should work. That said, Helvetica and Arial are very close. If your
Helvetica is Type 1, just use Helvetica for the whole thing. If you
embed it in the PDF, it should show there as a Type 1 subset.
Kenneth Benson
Pegasus Type, Inc.
www.pegtype.com -
URGENT.PLEASE HELP!!!Print graphics problem
Hi,
Please help me in this one.I try to print Graphics but I can't.
1) Spooling lasts too long
2) After spooling , printing does not continue
3) An empty page is printed instead
4) Printing process takes about 60 Mbytes of RAM to perform (??!!!)
Here is my code :
class MyDrawings extends JPanel implements Printable
private Image offImage;
private Graphics2D offGraphics2D;
private init_graphics()
offImage = this.createImage ( 200,200 );
offGraphics2D = (Graphics2D)offImage.getGraphics();
public void paint(Graphics g)
Graphics2D g2 = (Graphics2D)g;
if (offGraphics2D == null) return;
// Paint the backgroung
offGraphics2D.setColor(Color.black)
offGraphics2D.fillRect(0,0,getWidth(),getHeight());
g2.drawImage(offImage,0,0,null);
void jButton3_actionPerformed(ActionEvent e) // 'Print' Button was pressed
PrinterJob pj = PrinterJob.getPrinterJob();
RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
if (pj.printDialog())
try
pj.setPrintable(this);
pj.print();
catch (Exception PrintException) {PrintException.printStackTrace();}
RepaintManager.currentManager(this).setDoubleBufferingEnabled(true);
public int print(Graphics g, PageFormat pf, int pageIndex)
if (pageIndex != 0 )
return NO_SUCH_PAGE;
Graphics2D g2 = (Graphics2D) g;
double wscale = pf.getImageableWidth() / this.getWidth();
double hscale = pf.getImageableHeight()/ this.getHeight();
g2.scale(wscale, hscale);
g2.translate(pf.getImageableX(), pf.getImageableY());
paint(g2);
return PAGE_EXISTS;
I use JDK 1.4.0 and Win2000.
Thank you so much for your help!Change the construnctor and the paint as follow
class MyDrawings extends JPanel implements Printable
private Image offImage;
private Graphics2D offGraphics2D;
private MyDrawings()
public void paint(Graphics g)
Graphics2D g2 = (Graphics2D)g;
if (offImage == null)
offImage = this.createImage(getWidth(),getHeight());
offGraphics2D = (Graphics2D)offImage.getGraphics();
offGraphics2D.setColor(Color.black);
offGraphics2D.fillRect(0,0,getWidth(),getHeight());
g2.drawImage(offImage,0,0,null);
void jButton3_actionPerformed(ActionEvent e) // 'Print' Button was pressed
.
Maybe you are looking for
-
Import Multiple Records to a PDF Form
Hi, I produce a separate XML file for every voucher sent to a client on a golf tour. Using a form created in LiveCycle Designer 8.0 I create a corresponding PDF document for each voucher and import the data using Acrobat XI Pro. However I need a bet
-
3.5mm to 2.5mm adaptor
I got AD-61 2.5mm to 3.5 mm adaptor, however when I connect standard 3.5mm headphones to my e71 I get "select enhancement" message asking me to chose between "headphones" and "music stand". There is no "headset" option. When I chose headphones the mi
-
BT Infinity 2 upgrade has left me without Internet...
After what was supposed to be a simple upgrade from ADSL to BT Infinity, I have now been without any broadband at for a week and have been subjected to undoubtedly the worst customer service imaginable…. Here goes. Tuesday 6 June, an engineer arriv
-
print , copy , & fax does not work , not sure about the scan feature , error comes up in print que ( no number ) Down loaded 8.0 b driver support . Installed new cartages . copies look like the script & pictures chatter across the page . I have rest
-
Actual capacity of the 4 hdd bays with/without raid...
I've seen a few discussions regarding the capacity of the Mac Pro and it's 4 HDDs. I will be buying one shortly and have a few questions regarding this. 1) It seems clear that from other discussions, the Mac Pro can detect and operate a 3TB drive wit