Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print a SPL file?
Message
 
À
03/01/2015 15:51:16
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01612990
Message ID:
01613007
Vues:
39
>>There are links to many tools at the bottom of this document
>>http://www.undocprint.org/formats/winspool/spl
>
>Yes, that is the page I first looked at. I also tried the first one there and it says "Invalid SPL file". From the XML, this is base64. However, in order to obtain the spl file on disk, I need to save it. I decode the base64 using the default encoding such as:
>
>
>cString = System.Text.Encoding.Default.GetString(Convert.FromBase64String(cEncoded))
>
>
>...to obtain the string. And, then, to save the string to a file:
>
>
>                ' Try to open the file
>                Using loFileStream As System.IO.FileStream = New FileStream(lcFile, FileMode.Create)
>                    loStreamWriter = New StreamWriter(loFileStream, cEncoding)
>                    loStreamWriter.Write(cString)
>                    loStreamWriter.Close()
>                    llSuccess = True
>                    Exit For
>                End Using
>
>
>But, no matter what I try, this is always an invalid file. I have tried saving the string as Default, UTF8, UTF7, UTF32, Unicode, ASCII and BigEndianUnicode.
>
>>Here it says Adobe Flash 15 can open an SPL file.
>>
>>http://fileinfo.com/extension/spl
>
>Thanks
>
>>But I believe than an SPL file only contains par of the information for the image.
>
>Could you explain more on this?

For each print job there are two spool files generated by the Windows® NT/2000 spooler. One file with the .SHD extension for job settings, and one with the .SPL extension for the drawing commands.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform