Monday, March 23, 2020

Struggle for Blacks Rights After Civil War Essay Example For Students

Struggle for Blacks Rights After Civil War Essay After the Civil War and the emancipation proclamation by lincoln the slaves of america were free. This was a huge step in making our country truly free to all people. The reconstruction of the south did not however work out smoothly for the freed slaves. There were many road blocks along the way such as the â€Å"Black Codes†, the Plessy vs. Ferguson case and the terror of the Ku Klux Klan. The 14th amendment gave the freed slaves citizenship and some voting rights. From the reconstruction the 14th amendment the â€Å"black Codes† and the Plessy vs. Ferguson case all had significance on the status of african americans from reconstructoin to 1900. We will write a custom essay on Struggle for Blacks Rights After Civil War specifically for you for only $16.38 $13.9/page Order now The radical republicans method of reconstruction called for an amendment that would do three things. Extend citizenship for all people. Punnish the southern representation in the house if they didn’t alow black voting, and not allowing and former confederates to hold office. These three things made up the 14th amendment. Also in the radical republican reconstruction plan was the idea of station military in the south. This was very effective in giving the blacks their rights. Unfortunally when the miltary left the rights of the blacks went with them. the white supremecists treated the south as 2nd class people and were not given oppertunities to get any jobs but manual labor. Also the kkk was formed to scare away blacks from voting and keep them in their so called place, the plantation. The 14th amendment was a good thought, but it did not work out how the radical republicans had hoped going into the 1900’sAfter lincoln was shot in december of 1965, vice president andrew johnson took over office. He was a southern man and was not interested in blacks having the same rights as white people. Infact he incouraged southern states to inact laws limiting the blacks freedom. These laws were called â€Å"black codes†. They ranged in harshness through out the states but in all they were in credibly restricting. Blacks were forced to sign a contract for a laborer at the beginning of each year and could not break his contract even if his boss was abusing him. Also there was vagrancey laws which prohibited freed slaves from even walking on city streets. They were a fined and made to work off there debts. The â€Å"black codes† slowed down the evolution of equality between the races consistantly going into the 1900’sAnother very important factor in black history was the Plessy vs. Ferguson supreme court case in 1896 which ruled that segragation is not nessseceraly descrimination and that blacks and whites should be separate but equal, this was mainly a factor in southern schools, whites got 70% of state funding or more for schools. While black children were forced to school in a shack. Blacks were also forced to use different public bathrooms and waterfountains. In 1890 2/3 of blacks were illiterate in the USA. 60% of southern whites won to schools and only 35% of blacks did. This shows that separate was rarly equal. The separate but equal issue continued well into the 20th century. These threee factors have been very important in the evolution in blacks in america. How can stilll see the effects today. Only 40 to 50 years ago blacks were still forced to use different restrooms and water fountains. Bibliography:

Friday, March 6, 2020

Print Any Type of Document Using Delphi

Print Any Type of Document Using Delphi If your Delphi application needs to operate on various types of files, one of the tasks you might have for your application is to allow the user of the application to print a file, whatever the file type is. Most document-oriented applications, like MS Word, MS Excel or Adobe can easily print documents created in that program. For example, Microsoft Word saves the text you write in documents with DOC extension. Since Word determines what is the raw contents of a .DOC file it knows how to print .DOC files. The same applies for any known file type holding some printable information. What if you need to print various types of documents/files from your application? Can you know how to send the file to the printer in order for it to be printed correctly? Print From Delphi We can ask Windows what application can print, for example, a PDF file. Or, even better, we can tell Windows, heres one PDF file, send it to the application associated / in charge of printing PDF files. To do this, open up Windows Explorer, navigate to a directory containing some printable files. For most of the file types on your system, when you right-click a file in Windows Explorer, you will locate the Print command. Executing the Print shell command will result in the file being sent to the default printer. Well, thats exactly what we want: for a file type, call a method that will send the file to the associated application for printing. The function we are after is the ShellExecute API function. ShellExecute: Print / PrintTo However, ShellExecute can do much more. ShellExecute can be used to launch an application, open Windows Explorer, initiate a search beginning in the specified directory, and- whats of greatest interest to us- print the specified file. Specify Printer Using the above call, a document document.doc located on the root of the C drive will be sent to the Windows default printer. ShellExecute always uses the default printer for the print action. What if you need to print to a different printer, what if you want to allow the user to change the printer? The PrintTo Shell Command Before you copy and paste: the Printer global variable (TPrinter type) available in all Delphi programs can be used to manage any printing performed by an application. The printer is defined in the printers unit, ShellExecute is defined in the shellapi unit. Drop a TComboBox on a form. Name it cboPrinter. Set Style to csDropDownLidtPut the next two lines in the forms OnCreate even handler: //have available printers in the combo boxcboPrinter.Items.Assign(printer.Printers);//pre-select the default / active printercboPrinter.ItemIndex : printer.PrinterIndex; use to print any document type to a specified printer Note: some document types do not have an application associated with printing. Some do not have the printto action specified.