Ocena wątku:
  • 1 głosów - średnia: 5
  • 1
  • 2
  • 3
  • 4
  • 5
Problem - drukowanie ( preferencje drukowania )
#1
Exclamation 
Witam.
Na początek powiem że nie chodzi tyle co o strone internetową, lecz o wydruk z programu ENOVA, pisany w Microsoft Visual Studio 2010. Moja drukarka to Kyocera FS-1030D KX”.

Mianowicie sprawa wygląda tak:
Stworzyłem sobie wydruk (oryginał i kopia), mieszczą się one na dwóch stronach A4. Wydruk powinien być dwustronny a także z zaznaczoną opcją „przerzuć wzdłuż krótkiej krawędzi”. Po ustawieniu tych opcji wszystko jest ok, druk wychodzi taki jakbym chciał. Lecz jest to uciążliwe, ponieważ tylko w tym druku chciałbym korzystać z tych opcji, a w takim przypadku za każdym razem gdy chce wydrukować sobie ten konkretny wydruk musze wchodzić w preferencje drukarki.

Pytanie moje...

Czy da się za pomocą CSS ustawić z jakimi ustawieniami drukarka ma drukować konkretny dokument?



Przesyłam też kod tego dokumentu aby pokazać na czym, pracuje.
Kod:
<%@ Register TagPrefix="ea" Namespace="Soneta.Web" Assembly="Soneta.Web" %>
<%@ Register TagPrefix="eb" Namespace="Soneta.Core.Web" Assembly="Soneta.Core.Web" %>
<%@ Page language="c#" AutoEventWireup="false" codePage="1200" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ import Namespace="Soneta.Types" %><%@ import Namespace="Soneta.Waluty" %><%@ import Namespace="Soneta.Kasa" %><%@ import Namespace="Soneta.Handel" %><%@ import Namespace="Soneta.Business.App" %><%@ import Namespace="Soneta.Business" %><%@ import Namespace="Soneta.Core" %><%@ Register TagPrefix="cc1" Namespace="Soneta.Core.Web" Assembly="Soneta.Core.Web" %><%@ Register TagPrefix="ea" Namespace="Soneta.Web" Assembly="Soneta.Web" %><%@ Page Language="c#" CodePage="1200" %><HTML
xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<SCRIPT runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
            }
    

</script>

        <TITLE>Zadanie</TITLE>
        <META http-equiv=Content-Type content="text/html; charset=unicode">
        <META content="Microsoft Visual Studio 7.0" name=GENERATOR>
        <META content=C# name=CODE_LANGUAGE>
        <META content=JavaScript name=vs_defaultClientScript>
        <META content=http://schemas.microsoft.com/intellisense/ie5

name=vs_targetSchema>
      
        <style type="text/css">
            .style72
            {
                height: 14px;
            }
            .style77
            {
                width: 245px;
                height: 10px;
            }
            .style78
            {
                height: 10px;
            }
            #form3
            {
                margin-left: 0px;
            }
            </style>
      
    </HEAD>
    <body lang=PL link=blue vlink=purple
    
        
        
        
        
        
        
    style='tab-interval:35.45pt; height: 484px; width: 625px; margin-bottom: 1px; position: relative; text-align: center; top: 0px; left: 0px; margin-right: 0px; margin-top: 0px;'>
          
        <form id="form1" runat="server">
          
        <ea:DataContext id="DataContext2" runat="server"
                TypeName="Soneta.Zadania.Zadanie,Soneta.Zadania"></ea:DataContext>
          
    
        
                <table style="width: 618px; ">
                <tr align="center" valign="top">
                <td style="border: 0.1mm ridge #CCCCCC; " width="26%" >
    
        <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 11px;'>
                        <ea:DataLabel ID="DataLabel1" runat="server"
                            DataMember="Session.Core.Config.Firma.Pieczątka.Nazwa" Bold="False">
                </ea:DataLabel>
            <br />
                <ea:DataLabel ID="DataLabel14" runat="server"
                            DataMember="Session.Core.Config.Firma.AdresSiedziby" Bold="False">
                </ea:DataLabel>
                      
                        tel:<ea:DataLabel ID="DataLabel15" runat="server"
                            
                DataMember="Session.Core.Config.Firma.Kontakt.TelefonKomórkowy" Bold="False">
                </ea:DataLabel>
                  <br />
                        email:<ea:DataLabel ID="DataLabel17" runat="server"
                            
                DataMember="Session.Core.Config.Firma.Kontakt.EMAIL" Bold="False">
                </ea:DataLabel>
                        <br />
                        <ea:DataLabel ID="DataLabel2" runat="server"
                            
                DataMember="Session.Core.Config.Firma.Kontakt.WWW" Bold="False">
                </ea:DataLabel></p>
                </td>
                 <td style="border: 0.1mm ridge #CCCCCC" width="74%">
    
        
                        <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 11px;'>
                        <ea:DataLabel ID="DataLabel18" runat="server"
                            DataMember="Numer" Bold="False">
                </ea:DataLabel>
                        &nbsp;z dnia&nbsp;
                        <ea:DataLabel ID="DataLabel19" runat="server"
                            DataMember="Features.DataPrzyjeciaZadania" Bold="False">
                </ea:DataLabel>
                
                          
                        
                            
                            <br />
                
                          
                        
                            
                        <ea:DataLabel ID="DataLabel20" runat="server"
                            DataMember="Kontrahent.Nazwa">
                </ea:DataLabel>
              
                      
              
                            
              
                      
                            <br />
              
                      
              
                            
              
                      
                            Adres firmy:
                        <ea:DataLabel ID="DataLabel21" runat="server"
                            DataMember="Kontrahent.Adres" Bold="False">
                </ea:DataLabel>
                            
                        
                        
              
                      
                            <br />
                            
                        
                        
              
                      
                            Lokalizacja:
                        <ea:DataLabel ID="DataLabel22" runat="server"
                            DataMember="Lokalizacja">
                </ea:DataLabel>
                        &nbsp;<ea:DataLabel ID="DataLabel23" runat="server"
                            DataMember="Adres">
                </ea:DataLabel>
                        <br />
                        Przedstawiciel:
                            <ea:DataLabel ID="DataLabel28" runat="server" Bold="False"
                                DataMember="Przedstawiciel">
                            </ea:DataLabel>
                            <ea:DataLabel ID="DataLabel29" runat="server" Bold="False"
                                DataMember="Przedstawiciel.Kontakt.TelefonKomorkowy">
                            </ea:DataLabel>
                        </p>
        
                </td>
                </tr>
                <tr align="left" valign="top">
                <td colspan=2>
                  
                    <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 10px;'>
                            Serwisant:
                    <ea:DataLabel ID="DataLabel24" runat="server" DataMember="Wykonujacy.FullName">
                    </ea:DataLabel>

                  

                            &nbsp;Tel:
                            <ea:DataLabel ID="DataLabel27" runat="server"
                                DataMember="Wykonujacy.Features.NrTelSluzb">
                            </ea:DataLabel>

                  

                            <br />

                            Zadanie:
                    <ea:DataLabel ID="DataLabel25" runat="server" DataMember="Nazwa">
                    </ea:DataLabel>
                        
                    <br />
                        Opis:</p>
                    <p class=style7 align=left
          
          
                        style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 10px; margin-top: 3px;'>
                        <strong>
                    <ea:DataLabel runat="server" ID="DataLabel26" DataMember="Opis"></ea:datalabel>
                    </strong></p>
                    <p class=style7 align=left
          
          
                        style='margin-bottom:1.0pt; text-align:center; font-family: Tahoma; font-size: 10px; margin-top: 3px;'>
                        &nbsp;</p>
                </td>
                </tr>
                
                
        </td>
        </tr>
      
    <tr>
                <td colspan=2 class="style72">
                         <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:center; font-family: Tahoma; font-size: 10px;'> PRZEBIEG WYKONANIA</p>
                        </td>
                        </tr>
    <tr border=1>
    <td style="border: 0.1mm ridge #CCCCCC" class="style77">
        <table width="100%">
       <tr>
       <td>
       <p align="left" class="style7"
            style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
            Data:<br />
&nbsp;<br />
        </p>
       </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               <br />
&nbsp;</p>
           </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               <br />
&nbsp;</p>
           </td>
      
       </tr>
       </table>
        </td>
    <td style="border: 0.1mm ridge #CCCCCC" class="style78">
      
    
        
        
       <table width="100%">
       <tr>
       <td>
       <p align="left" class="style7"
            style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
            Czas<br />
&nbsp;<br />
        </p>
       </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               od:<br />
&nbsp;</p>
           </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               do:<br />
&nbsp;</p>
           </td>
      
       </tr>
       </table>
    
        
        </td>
    
    </tr>
    </table>
    <table style="position: absolute; right: 33px; top: 400px" style="border: 0.1mm ridge #CCCCCC; ">
<tr><td valign="top" align="left"><p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 9px;'>Potwierdzenie odbioru:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    </p>
    </td></tr>
<tr><td valign="bottom" align="left">
     <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 10px;'>
         &nbsp;<br />
&nbsp;<br />
&nbsp;</p>
    <p align="center" class="style7"
        
        style="margin-bottom:1.0pt; text-align:center; font-family: Tahoma; font-size: 8px; margin-top: 0px;">
        </p>
    </td></tr>
</table>
<table style="position: absolute; right: 33px; top: 2px;"
            style="border: 0.1mm ridge #CCCCCC; ">
<tr><td valign="top" align="left"><p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 9px;'><strong>ORYGINAŁ</strong></p>
    </td></tr>
</table>
  
                                                    <ea:PageBreak ID="PageBreak1" runat="server"
                                                                 ResetPageCounter="True">
                                                                        </ea:PageBreak>

                                                                         <table style="width: 618px; ">
                <tr align="center" valign="top">
                <td style="border: 0.1mm ridge #CCCCCC; " width="26%" >
    
        <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 11px;'>
                        <ea:DataLabel ID="DataLabel3" runat="server"
                            DataMember="Session.Core.Config.Firma.Pieczątka.Nazwa" Bold="False">
                </ea:DataLabel>
            <br />
                <ea:DataLabel ID="DataLabel4" runat="server"
                            DataMember="Session.Core.Config.Firma.AdresSiedziby" Bold="False">
                </ea:DataLabel>
                      
                        tel:<ea:DataLabel ID="DataLabel5" runat="server"
                            
                DataMember="Session.Core.Config.Firma.Kontakt.TelefonKomórkowy" Bold="False">
                </ea:DataLabel>
                  <br />
                        email:<ea:DataLabel ID="DataLabel6" runat="server"
                            
                DataMember="Session.Core.Config.Firma.Kontakt.EMAIL" Bold="False">
                </ea:DataLabel>
                        <br />
                        <ea:DataLabel ID="DataLabel7" runat="server"
                            
                DataMember="Session.Core.Config.Firma.Kontakt.WWW" Bold="False">
                </ea:DataLabel></p>
                </td>
                 <td style="border: 0.1mm ridge #CCCCCC" width="74%">
    
        
                        <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 11px;'>
                        <ea:DataLabel ID="DataLabel8" runat="server"
                            DataMember="Numer" Bold="False">
                </ea:DataLabel>
                        &nbsp;z dnia&nbsp;
                        <ea:DataLabel ID="DataLabel9" runat="server"
                            DataMember="Features.DataPrzyjeciaZadania" Bold="False">
                </ea:DataLabel>
                
                          
                        
                            
                            <br />
                
                          
                        
                            
                        <ea:DataLabel ID="DataLabel10" runat="server"
                            DataMember="Kontrahent.Nazwa">
                </ea:DataLabel>
              
                      
              
                            
              
                      
                            <br />
              
                      
              
                            
              
                      
                            Adres firmy:
                        <ea:DataLabel ID="DataLabel11" runat="server"
                            DataMember="Kontrahent.Adres" Bold="False">
                </ea:DataLabel>
                            
                        
                        
              
                      
                            <br />
                            
                        
                        
              
                      
                            Lokalizacja:
                        <ea:DataLabel ID="DataLabel12" runat="server"
                            DataMember="Lokalizacja">
                </ea:DataLabel>
                        &nbsp;<ea:DataLabel ID="DataLabel13" runat="server"
                            DataMember="Adres">
                </ea:DataLabel>
                        <br />
                        Przedstawiciel:
                            <ea:DataLabel ID="DataLabel16" runat="server" Bold="False"
                                DataMember="Przedstawiciel">
                            </ea:DataLabel>
                            <ea:DataLabel ID="DataLabel30" runat="server" Bold="False"
                                DataMember="Przedstawiciel.Kontakt.TelefonKomorkowy">
                            </ea:DataLabel>
                        </p>
        
                </td>
                </tr>
                <tr align="left" valign="top">
                <td colspan=2>
                  
                    <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 10px;'>
                            Serwisant:
                    <ea:DataLabel ID="DataLabel31" runat="server" DataMember="Wykonujacy.FullName">
                    </ea:DataLabel>

                  

                            &nbsp;Tel:
                            <ea:DataLabel ID="DataLabel32" runat="server"
                                DataMember="Wykonujacy.Features.NrTelSluzb">
                            </ea:DataLabel>

                  

                            <br />

                            Zadanie:
                    <ea:DataLabel ID="DataLabel33" runat="server" DataMember="Nazwa">
                    </ea:DataLabel>
                        
                    <br />
                        Opis:</p>
                    <p class=style7 align=left
          
          
                        style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 10px; margin-top: 3px;'>
                        <strong>
                    <ea:DataLabel runat="server" ID="DataLabel34" DataMember="Opis"></ea:datalabel>
                    </strong></p>
                    <p class=style7 align=left
          
          
                        style='margin-bottom:1.0pt; text-align:center; font-family: Tahoma; font-size: 10px; margin-top: 3px;'>
                        &nbsp;</p>
                </td>
                </tr>
                
                
        </td>
        </tr>
      
    <tr>
                <td colspan=2 class="style72">
                         <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:center; font-family: Tahoma; font-size: 10px;'> PRZEBIEG WYKONANIA</p>
                        </td>
                        </tr>
    <tr border=1>
    <td style="border: 0.1mm ridge #CCCCCC" class="style77">
        <table width="100%">
       <tr>
       <td>
       <p align="left" class="style7"
            style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
            Data:<br />
&nbsp;<br />
        </p>
       </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               <br />
&nbsp;</p>
           </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               <br />
&nbsp;</p>
           </td>
      
       </tr>
       </table>
        </td>
    <td style="border: 0.1mm ridge #CCCCCC" class="style78">
      
    
        
        
       <table width="100%">
       <tr>
       <td>
       <p align="left" class="style7"
            style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
            Czas<br />
&nbsp;<br />
        </p>
       </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               od:<br />
&nbsp;</p>
           </td>
       <td width="50%">
           <p align="left" class="style7"
               style="margin-bottom:1.0pt; text-align:left; font-family: Tahoma; font-size: 8px;">
               do:<br />
&nbsp;</p>
           </td>
      
       </tr>
       </table>
    
        
        </td>
    
    </tr>
    </table>
    <table style="position: absolute; right: 33px; top: 400px" style="border: 0.1mm ridge #CCCCCC; ">
<tr><td valign="top" align="left"><p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 9px;'>Potwierdzenie odbioru:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    </p>
    </td></tr>
<tr><td valign="bottom" align="left">
     <p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 10px;'>
         &nbsp;<br />
&nbsp;<br />
&nbsp;</p>
    <p align="center" class="style7"
        
        style="margin-bottom:1.0pt; text-align:center; font-family: Tahoma; font-size: 8px; margin-top: 0px;">
        </p>
    </td></tr>
</table>
<table style="position: absolute; right: 33px; top: 2px;"
            style="border: 0.1mm ridge #CCCCCC; ">
<tr><td valign="top" align="left"><p class=style7 align=left
          
          style='margin-bottom:1.0pt; text-align:left; font-family: Tahoma; Arial; font-size: 9px;'><strong>KOPIA</strong></p>
    </td></tr>
</table>

            </form>
                                                                      
                                                                        
        
            </body>
</HTML>




Odpowiedz
#2
Jak się ma problemy to najlepiej oddać do gwarancji, mi nawet porady się nie przydały jak miałam starą drukarkę. Ale mam teraz Epson i drukuje już 5 lat i nie mam z nią żadnych tak naprawdę problemów.
Odpowiedz
#3
Masz rację. Ja bym taką drukarkę do drukowania kupiłam z Epson, zwłaszcza, że teraz mają dużo ciekawych ofert godnych uwagi. Każdy znajdzie coś ciekawego do drukowania w domu czy w biurze.
Odpowiedz
#4
Odpowiedz
#5
Czy wiecie może czym są spady drukarskie? Chcę wydrukować kilka plakatów, którymi będę mogła udekorować ściany w mojej kawiarni. Pytałam w jednym miejscu, ale powiedzieli mi, że zawsze są tak zwane spady drukarskie i żebym dobrze przygotowała plik do druku. Nie znam się na tym, dlatego poszperałam trochę w sieci i na stronie: https://www.drukarniaonline.pl/page/spady-drukarskie-w-druku znalazłam kilka informacji na ten temat. Wyczytałam tam, że wystarczy zostawić 3mm. marginesu. Myślicie, że tyle na pewno wystarczy?
Odpowiedz


Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Drukowanie od nowej kartki Demerzel 2 2,916 27-07-2010, 23:14
Ostatni post: Demerzel
  Media print i drukowanie wybranych div-ów grzechu007 0 1,970 29-05-2009, 18:43
Ostatni post: grzechu007

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl