discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing Postscript Data


From: Chad Hardin
Subject: Re: Printing Postscript Data
Date: Sun, 8 Aug 2004 00:37:38 -1000

I was talking to alexm on this iirc. Looks like all you really need to do is utilize DPSPrintf in your view's drawRect:


Chad
On Aug 6, 2004, at 10:23 AM, Stefan Kleine Stegemann wrote:


Hi again,

<snip>

@interface NSPrinter (DirectSpooling)
+(BOOL)        canPrinterNamed: (NSString*) printerName
       directlyPrintFileOfType: (NSString*) type;
+(BOOL) directlyPrintFileAtPath: (NSString*) filePath
                 ofType: (NSString*) type
         toPrinterNamed: (NsString*) printerName;
-(BOOL) directlyPrintFileAtPath: (NsString*) filePath
                   ofType: (NSString*) type
+(BOOL) canDirectlyPrintFileOfType: (NSString*) type;
@end
Or something similar
Maybe it would be better to use NSData objects? That way i won't
have to write the ps-data to a file previously. On the other hand,
the NSData object could be rather big ...

greets
Stefan



_______________________________________________
Discuss-gnustep mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

[Prev in Thread] Current Thread [Next in Thread]